Main.cpp: In function 'int main()':
Main.cpp:15:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
15 | for(register int i = 1; i <= r; ++i){
| ^
Main.cpp:16:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
16 | for(register int j = 1; j <= s; ++j){
| ^
Main.cpp:23:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
23 | for(register int x1 = 0; x1 <= r; ++x1){
| ^~
Main.cpp:25:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
25 | for(register int y1 = 0; y1 <= s; ++y1){
| ^~
Main.cpp:27:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
27 | for(register int x2 = x1; x2 <= r; ++x2){
| ^~
Main.cpp:29:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
29 | for(register int y2 = y1; y2 <= s; ++y2){
| ^~