eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:39:20: warning: comparison of integer expressions of different signedness: 'std::queue<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
39 | if(jp.size() >= N / 2){
| ~~~~~~~~~~^~~~~~~~
eastereggs.cpp:41:11: error: 'query' was not declared in this scope
41 | if(query(island) == 1){
| ^~~~~
eastereggs.cpp:58:6: error: 'query' was not declared in this scope
58 | if(query({jp.front()}) == 1){
| ^~~~~
eastereggs.cpp:65:6: error: 'query' was not declared in this scope
65 | if(query({x})){
| ^~~~~
eastereggs.cpp:23:9: warning: unused variable 'ans' [-Wunused-variable]
23 | int ans = 1;
| ^~~