eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:82:24: error: 'i' was not declared in this scope
82 | notdone.insert(quer[i]);
| ^
eastereggs.cpp:76:7: warning: unused variable 'con' [-Wunused-variable]
76 | int con = quer.size();
| ^~~
eastereggs.cpp:87:3: error: 'else' without a previous 'if'
87 | else{
| ^~~~
eastereggs.cpp:88:37: error: 'con' was not declared in this scope; did you mean 'cos'?
88 | for(int i = quer.size() - 1; i > con - 1 - sise/2; i--){
| ^~~
| cos
eastereggs.cpp:88:47: error: 'sise' was not declared in this scope
88 | for(int i = quer.size() - 1; i > con - 1 - sise/2; i--){
| ^~~~
eastereggs.cpp:97:2: warning: no return statement in function returning non-void [-Wreturn-type]
97 | }
| ^
eastereggs.cpp: At global scope:
eastereggs.cpp:99:2: error: expected unqualified-id before 'return'
99 | return (*notdone.begin());
| ^~~~~~
eastereggs.cpp:100:1: error: expected declaration before '}' token
100 | }
| ^