eastereggs.cpp: In function 'int query(std::vector<int>)':
eastereggs.cpp:14:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for(int i = 0; i < marog.size(); i++)
| ~~^~~~~~~~~~~~~~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:70:17: warning: ignoring return value of 'bool std::vector<_Tp, _Alloc>::empty() const [with _Tp = int; _Alloc = std::allocator<int>]', declared with attribute 'nodiscard' [-Wunused-result]
70 | qv.empty();
| ~~~~~~~~^~
In file included from /usr/include/c++/10/vector:67,
from eastereggs.cpp:2:
/usr/include/c++/10/bits/stl_vector.h:1007:7: note: declared here
1007 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
/usr/bin/ld: /tmp/ccP0GOuG.o: in function `query(std::vector<int, std::allocator<int> >)':
grader.cpp:(.text+0x0): multiple definition of `query(std::vector<int, std::allocator<int> >)'; /tmp/ccemwYEH.o:eastereggs.cpp:(.text+0x50): first defined here
collect2: error: ld returned 1 exit status