My issue
My code
#include <iostream>
#include<algorithm>
using namespace std;
int main() {
// your code goes here
int t;
cin>>t;
while(t--){
long int n;
cin>>n;
long int h[n];
for( long int i=0;i<n;i++){
cin>>h[i];
}
sort(h,h+n);
}
return 0;
}
Problem Link: PUSH7PA Problem - CodeChef