eastereggs.cpp: In function 'void fsons(int)':
eastereggs.cpp:13:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for (int i = 0; i < g[a].size(); i++)
| ~~^~~~~~~~~~~~~
eastereggs.cpp:18:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for (int j = 0; j < sons[g[a][i]].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~
eastereggs.cpp: In function 'int ask(std::vector<int>, bool, int)':
eastereggs.cpp:47:51: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for (i = sons[a].size() - 1, j = 0; j < g[a].size() - 1; j++, i--)
| ~~^~~~~~~~~~~~~~~~~
eastereggs.cpp:71:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | for (i = 0; i < h.size() / 2; i++)
| ~~^~~~~~~~~~~~~~
eastereggs.cpp:75:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | for (i = h.size() / 2; i < h.size(); i++)
| ~~^~~~~~~~~~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:107:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
107 | for (i = 0; i < bridges.size(); i++)
| ~~^~~~~~~~~~~~~~~~
eastereggs.cpp:106:12: warning: unused variable 'j' [-Wunused-variable]
106 | int i, j;
| ^
eastereggs.cpp: In function 'int ask(std::vector<int>, bool, int)':
eastereggs.cpp:29:16: warning: control reaches end of non-void function [-Wreturn-type]
29 | vector<int>v;
| ^