Plz correct my code

Bro apne
input theek se nhi lia
first is the no of test cases
cin >> t;
while(t–){
int paranthas;
cin >> paranthas;
int no ;
cin >>no;
int rank[no];
for(int i = 0 ; i < no ; i++)
cin >> rank[i];
then the code follows

}