eastereggs.cpp: In function 'void sgd(int, int)':
eastereggs.cpp:13:19: 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 < v[dg].size(); ++i) {
| ~~^~~~~~~~~~~~~~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:34:6: error: 'query' was not declared in this scope
34 | if(query(ve)) {
| ^~~~~
eastereggs.cpp:35:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(int i = 0; i < ve.size(); ++i) {
| ~~^~~~~~~~~~~
eastereggs.cpp:45:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for(int i = 0; i < ve.size(); ++i) {
| ~~^~~~~~~~~~~
eastereggs.cpp:53:1: warning: control reaches end of non-void function [-Wreturn-type]
53 | }
| ^