My issue
plz give me approach
My code
#include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main() {
// your code goes here
ll t;
cin>>t;
while(t--){
ll n;
cin>>n;
vector<ll>v(n);
for(auto i:v){cin>>v[i];}
}
return 0;
}
Problem Link: WEIRDSUBARR Problem - CodeChef