eastereggs.cpp: In function 'void conexa(std::vector<int>&, std::vector<std::vector<int> >&, int, int, std::vector<bool>&)':
eastereggs.cpp:8:14: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
8 | if(v.size()==cont){
| ~~~~~~~~^~~~~~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:42:4: error: expected initializer before 'for'
42 | for(int i=0;i<v.size();i++)s.insert(v[i]-1);
| ^~~
eastereggs.cpp:42:16: error: 'i' was not declared in this scope
42 | for(int i=0;i<v.size();i++)s.insert(v[i]-1);
| ^
eastereggs.cpp:44:8: error: 's' was not declared in this scope
44 | if(s.find(i)==s.end())posi[i]=false;
| ^
eastereggs.cpp:52:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for(int i=0;i<v.size();i++)posi[v[i]-1]=false;
| ~^~~~~~~~~