We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
can somebody please tell me what is wrong with this code?
int main(){
int t;
cin >> t;
while(t--)
{
int n,temp,bribes=0;
int flag=0;
cin >> n;
int count_swap[n];
vector q(n);
for(int q_i = 0;q_i < n;q_i++)
{
cin >> q[q_i];
New Year Chaos
You are viewing a single comment's thread. Return to all comments →
can somebody please tell me what is wrong with this code? int main(){ int t; cin >> t; while(t--) { int n,temp,bribes=0; int flag=0; cin >> n; int count_swap[n]; vector q(n); for(int q_i = 0;q_i < n;q_i++) { cin >> q[q_i];
}