index.cpp: In function 'bool check(int, int, int)':
index.cpp:11:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
11 | for(register int i = l; i <= r; ++i){
| ^
index.cpp: In function 'int main()':
index.cpp:20:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
20 | for(register int i = 1; i <= n; ++i){
| ^
index.cpp:23:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
23 | for(register int i = 1, l, r; i <= Q; ++i){
| ^
index.cpp:23:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
23 | for(register int i = 1, l, r; i <= Q; ++i){
| ^
index.cpp:23:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
23 | for(register int i = 1, l, r; i <= Q; ++i){
| ^