eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:7:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | for(int i=0;i<bridges.size();i++){
| ~^~~~~~~~~~~~~~~
eastereggs.cpp:37:12: error: 'query' was not declared in this scope
37 | if(query(v)==1){
| ^~~~~
eastereggs.cpp:44:31: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
44 | while(s.size()<x){
| ~~~~~~~~^~