consul.cpp: In function 'void solve(int)':
consul.cpp:5:2: error: 'set' was not declared in this scope
5 | set<ll> s;
| ^~~
consul.cpp:5:6: error: 'll' was not declared in this scope
5 | set<ll> s;
| ^~
consul.cpp:5:10: error: 's' was not declared in this scope
5 | set<ll> s;
| ^
consul.cpp:6:2: error: 'srand' was not declared in this scope
6 | srand(69696969);
| ^~~~~
consul.cpp:8:11: error: 'rand' was not declared in this scope
8 | int i = rand() % n + 1;
| ^~~~
consul.cpp:11:6: error: expected ';' before 'val'
11 | ll val = kth(i);
| ^~~~
| ;
consul.cpp:12:11: error: 'val' was not declared in this scope
12 | if(cnt(val) > n / 3){
| ^~~