aliens.cpp: In function 'int main()':
aliens.cpp:32:2: error: 'm' was not declared in this scope
32 | m = 1;
| ^
aliens.cpp:33:12: error: 'r' was not declared in this scope
33 | int l = a;r = a;
| ^
aliens.cpp:35:17: error: too few arguments to function 'bool ask(int, int)'
35 | if (!ask(l - 1)) {
| ^
aliens.cpp:14:6: note: declared here
14 | bool ask (int jj, int kk) {
| ^~~
aliens.cpp:47:13: error: 'r1' was not declared in this scope; did you mean 'l1'?
47 | int l1 = a;r1 = a;
| ^~
| l1
aliens.cpp:49:18: error: too few arguments to function 'bool ask(int, int)'
49 | if (!ask(l1 - 1)) {
| ^
aliens.cpp:14:6: note: declared here
14 | bool ask (int jj, int kk) {
| ^~~
aliens.cpp:78:40: error: 'jog2' was not declared in this scope; did you mean 'jog1'?
78 | cout << "solution " << jog1 << " " << jog2;
| ^~~~
| jog1