eastereggs.cpp: In function 'void dfs(int, int)':
eastereggs.cpp:17:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<graph[start].size();++i)
~^~~~~~~~~~~~~~~~~~~~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:32:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<edge.size();++i)
~^~~~~~~~~~~~
eastereggs.cpp:46:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<node.size();++i)
~^~~~~~~~~~~~
eastereggs.cpp:54:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<node.size();++i)
~^~~~~~~~~~~~
eastereggs.cpp:28:8: warning: unused variable 'j' [-Wunused-variable]
int i,j;
^
eastereggs.cpp:71:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^