eastereggs.cpp: In function 'bool Query(int, int)':
eastereggs.cpp:35:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
35 | for(register int i{l}; i <= r; ++i) v.emplace_back(tin[i]);
| ^
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:41:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
41 | for(register int i(0), a, b; i < N; ++i){
| ^
eastereggs.cpp:41:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
41 | for(register int i(0), a, b; i < N; ++i){
| ^
eastereggs.cpp:41:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
41 | for(register int i(0), a, b; i < N; ++i){
| ^
eastereggs.cpp:46:25: warning: unused variable 'best' [-Wunused-variable]
46 | int l = 1, r = N, mid, best;
| ^~~~