eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:37:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < check.size(); i++) ck[check[i]] = 1;
~~^~~~~~~~~~~~~~
eastereggs.cpp:39:3: error: expected ';' before '}' token
}
^
eastereggs.cpp:41:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < check.size(); i++) ck[check[i]] = 0;
~~^~~~~~~~~~~~~~
eastereggs.cpp:46:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^