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:46: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]
46 | for (int i = 0; i < b.size(); i++) {
| ~~^~~~~~~~~~
eastereggs.cpp:66:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | if (r == a.size() - 1 && l == a.size() - 1) {
| ~~^~~~~~~~~~~~~~~
eastereggs.cpp:66:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | if (r == a.size() - 1 && l == a.size() - 1) {
| ~~^~~~~~~~~~~~~~~
eastereggs.cpp:87:1: warning: control reaches end of non-void function [-Wreturn-type]
87 | }
| ^