In file included from /usr/include/c++/10/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:33,
from grader.h:1,
from eastereggs.cpp:4:
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:27:21: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
27 | assert(e.size() == N);
| ~~~~~~~~~^~~~
eastereggs.cpp:28:21: error: 'n' was not declared in this scope
28 | int st = 0,dr = n - 1,ans = -1;
| ^
eastereggs.cpp:34:21: error: 'ans' was not declared in this scope; did you mean 'abs'?
34 | ans = mid;
| ^~~
| abs
eastereggs.cpp:41:14: error: 'ans' was not declared in this scope; did you mean 'abs'?
41 | return e[ans];
| ^~~
| abs