eastereggs.cpp: In function 'void dfs(int, int, int, std::vector<int>&)':
eastereggs.cpp:21:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[x].size();++i)
~^~~~~~~~~~~~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:42:6: error: 'query' was not declared in this scope
if(query(add)) {
^~~~~
eastereggs.cpp:45:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<add.size();++i)
~^~~~~~~~~~~
eastereggs.cpp:49:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<add.size();++i)
~^~~~~~~~~~~
eastereggs.cpp:58:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^