eastereggs.cpp: In function 'void dfs(int)':
eastereggs.cpp:34:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for (int i = 0; i < g[u].size(); i++) {
| ~~^~~~~~~~~~~~~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:44:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for (int i = 0; i < b.size(); i++) {
| ~~^~~~~~~~~~
eastereggs.cpp:63:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | if (r == a.size() - 1 && l == a.size() - 1) {
| ~~^~~~~~~~~~~~~~~
eastereggs.cpp:63:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | if (r == a.size() - 1 && l == a.size() - 1) {
| ~~^~~~~~~~~~~~~~~
eastereggs.cpp:84:1: warning: control reaches end of non-void function [-Wreturn-type]
84 | }
| ^