consul.cpp: In function 'void solve(int)':
consul.cpp:10:18: error: 'kth' was not declared in this scope
10 | int ixvi=kth(bati);
| ^~~
consul.cpp:11:20: error: 'cnt' was not declared in this scope; did you mean 'int'?
11 | int batuka=cnt(ixvi+1);
| ^~~
| int
consul.cpp:13:20: error: return-statement with a value, in function returning 'void' [-fpermissive]
13 | return ixvi;
| ^~~~
consul.cpp:18:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
18 | return -1;
| ^~