eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:42:12: error: 'query' was not declared in this scope
42 | if(query(islands)) {
| ^~~~~
eastereggs.cpp: At global scope:
eastereggs.cpp:61:5: error: redefinition of 'int findEgg(int, std::vector<std::pair<int, int> >)'
61 | int findEgg(int N, vector < pair < int, int > > bridges) {
| ^~~~~~~
eastereggs.cpp:10:5: note: 'int findEgg(int, std::vector<std::pair<int, int> >)' previously defined here
10 | int findEgg(int N, vector < pair < int, int > > bridges) {
| ^~~~~~~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:93:12: error: 'query' was not declared in this scope
93 | if(query(islands)) {
| ^~~~~