chameleon.cpp: In function 'void Solve(int)':
chameleon.cpp:21:11: error: 'Query' was not declared in this scope
int x=Query({i+1,j+1});
^~~~~
chameleon.cpp:29:5: error: 'Answer' was not declared in this scope
Answer(i+1,aa[0]);
^~~~~~
chameleon.cpp:34:10: error: 'Query' was not declared in this scope
if(Query({i+1,aa[j],aa[k]})==1){
^~~~~
chameleon.cpp:46:11: error: 'Query' was not declared in this scope
int x=Query(bb);
^~~~~
chameleon.cpp:50:6: error: 'Answer' was not declared in this scope
Answer(i+1,aa[1]);
^~~~~~
chameleon.cpp:55:6: error: 'Answer' was not declared in this scope
Answer(i+1,aa[0]);
^~~~~~