consul.cpp: In function 'void solve(int)':
consul.cpp:6:5: error: 'vector' was not declared in this scope
6 | vector<int>v;
| ^~~~~~
consul.cpp:6:12: error: expected primary-expression before 'int'
6 | vector<int>v;
| ^~~
consul.cpp:9:9: error: 'v' was not declared in this scope
9 | v.pb(kth(i+1));
| ^
consul.cpp:11:10: error: 'v' was not declared in this scope
11 | sort(v.begin(),v.end());
| ^
consul.cpp:11:5: error: 'sort' was not declared in this scope; did you mean 'qsort'?
11 | sort(v.begin(),v.end());
| ^~~~
| qsort