squarerect.cpp: In function 'bool am_i_square(int, int)':
squarerect.cpp:64:16: error: too few arguments to function 'bool ask(int, int)'
64 | if (ask(R+(1<<bit)),Cmax)R+=(1<<bit);
| ~~~^~~~~~~~~~~~
squarerect.cpp:34:6: note: declared here
34 | bool ask(int x,int y){
| ^~~
squarerect.cpp:67:9: error: redeclaration of 'int R'
67 | int R=Rmin;
| ^
squarerect.cpp:60:9: note: 'int R' previously declared here
60 | int R=Rmax;
| ^
squarerect.cpp:71:16: error: too few arguments to function 'bool ask(int, int)'
71 | if (ask(R-(1<<bit)),Cmin)R-=(1<<bit);
| ~~~^~~~~~~~~~~~
squarerect.cpp:34:6: note: declared here
34 | bool ask(int x,int y){
| ^~~
squarerect.cpp:79:21: error: too few arguments to function 'bool ask(int, int)'
79 | if (Rmax,ask(C+(1<<bit)))C+=(1<<bit);
| ~~~^~~~~~~~~~~~
squarerect.cpp:34:6: note: declared here
34 | bool ask(int x,int y){
| ^~~
squarerect.cpp:82:9: error: redeclaration of 'int C'
82 | int C=Cmin;
| ^
squarerect.cpp:75:10: note: 'int C' previously declared here
75 | int C=Cmax;
| ^
squarerect.cpp:86:21: error: too few arguments to function 'bool ask(int, int)'
86 | if (Rmin,ask(C-(1<<bit)))C-=(1<<bit);
| ~~~^~~~~~~~~~~~
squarerect.cpp:34:6: note: declared here
34 | bool ask(int x,int y){
| ^~~
squarerect.cpp:94:14: error: 'r' was not declared in this scope
94 | return R-r == C-c
| ^
squarerect.cpp:94:21: error: 'c' was not declared in this scope
94 | return R-r == C-c
| ^
squarerect.cpp:94:22: error: expected ';' before '}' token
94 | return R-r == C-c
| ^
| ;
......
99 | }
| ~