eastereggs.cpp: In function 'void euler(int, int)':
eastereggs.cpp:11:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0 ; i < w[nod].size() ; i++){
~~^~~~~~~~~~~~~~~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:23:10: error: 'i' was not declared in this scope
for (i=1;i<=n;i++)
^
eastereggs.cpp:25:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<v.size();i++){
~^~~~~~~~~