park.cpp: In function 'bool comp(int, int)':
park.cpp:17:9: error: 'Ask' was not declared in this scope
17 | if (Ask(0,b,place)==0) {
| ^~~
park.cpp: In function 'void Detect(int, int)':
park.cpp:38:21: error: 'Ask' was not declared in this scope
38 | if (Ask(i,j,place)==1) {
| ^~~
park.cpp:39:21: error: 'Answer' was not declared in this scope
39 | Answer(i,j);
| ^~~~~~
park.cpp:51:9: error: 'Answer' was not declared in this scope
51 | Answer(0,vec[0]);
| ^~~~~~
park.cpp:53:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | for(int i=1;i<vec.size();i++) {
| ~^~~~~~~~~~~
park.cpp:69:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | for(int i=0;i<vec[k].size();i++) {
| ~^~~~~~~~~~~~~~
park.cpp:76:25: error: 'Ask' was not declared in this scope
76 | if (Ask(0,i,place)) {
| ^~~
park.cpp:83:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for(int i=0;i<vec[j-1].size();i++) {
| ~^~~~~~~~~~~~~~~~
park.cpp:86:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
86 | for(int i=0;i<vec[j].size();i++) {
| ~^~~~~~~~~~~~~~
park.cpp:96:25: error: 'Ask' was not declared in this scope
96 | if (Ask(0,now,place)) {
| ^~~
park.cpp:107:17: error: 'Answer' was not declared in this scope
107 | Answer(min(vec[j-1][l],now),max(vec[j-1][l],now));
| ^~~~~~
park.cpp: In function 'bool comp(int, int)':
park.cpp:23:1: warning: control reaches end of non-void function [-Wreturn-type]
23 | }
| ^