eastereggs.cpp: In function 'void dfs(int)':
eastereggs.cpp:20:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < graph[u].size(); i++){
~~^~~~~~~~~~~~~~~~~
eastereggs.cpp:29:9: error: 'solve' was not declared in this scope
solve(u, par[u]);
^~~~~
eastereggs.cpp: In function 'void solve(int, int)':
eastereggs.cpp:37:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < graph[u].size(); i++){
~~^~~~~~~~~~~~~~~~~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:45:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < bridges.size(); i++){
~~^~~~~~~~~~~~~~~~
eastereggs.cpp:60:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < ask.size(); i++){
~~^~~~~~~~~~~~
eastereggs.cpp:82:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^