eastereggs.cpp:9:6: error: ambiguating new declaration of 'bool query(std::vector<int>)'
9 | bool query(vector<int> v){
| ^~~~~
In file included from eastereggs.cpp:2:
grader.h:6:5: note: old declaration 'int query(std::vector<int>)'
6 | int query(vector < int > islands);
| ^~~~~
eastereggs.cpp: In function 'bool query(std::vector<int>)':
eastereggs.cpp:10:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for(int i=0;i<v.size();i++){
| ~^~~~~~~~~
eastereggs.cpp: In function 'int dfs(int, int)':
eastereggs.cpp:18:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(int i=0;i<V[u].size();i++){
| ~^~~~~~~~~~~~
eastereggs.cpp:22:1: warning: no return statement in function returning non-void [-Wreturn-type]
22 | }
| ^
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:27:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(int i=0;i<b.size();i++){
| ~^~~~~~~~~