eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:25:19: error: 'vi' {aka 'std::vector<int>'} is not a template
25 | if (query(vi<(a.begin(),a.begin() + mid)>)){
| ^~
eastereggs.cpp:25:31: error: call to non-'constexpr' function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::begin() [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<int*, std::vector<int> >; typename std::_Vector_base<_Tp, _Alloc>::pointer = int*]'
25 | if (query(vi<(a.begin(),a.begin() + mid)>)){
| ^
eastereggs.cpp:25:50: error: expected primary-expression before ')' token
25 | if (query(vi<(a.begin(),a.begin() + mid)>)){
| ^