consul.cpp: In function 'void solve(int)':
consul.cpp:5:5: error: 'vector' was not declared in this scope
5 | vector<int> vec(n);
| ^~~~~~
consul.cpp:5:12: error: expected primary-expression before 'int'
5 | vector<int> vec(n);
| ^~~
consul.cpp:7:9: error: 'vec' was not declared in this scope
7 | vec[i] = kth(i+1);
| ^~~
consul.cpp:9:10: error: 'vec' was not declared in this scope
9 | sort(vec.begin(), vec.end());
| ^~~
consul.cpp:9:5: error: 'sort' was not declared in this scope; did you mean 'short'?
9 | sort(vec.begin(), vec.end());
| ^~~~
| short
consul.cpp:14:18: error: 'cou' was not declared in this scope
14 | if(++cou > n/3){
| ^~~
consul.cpp:21:13: error: 'cou' was not declared in this scope
21 | cou = 1;
| ^~~