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