bank.cpp: In function 'int main()':
bank.cpp:18:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
18 | for(register int i = 0; i < N; ++i) cin >> A[i];
| ^
bank.cpp:20:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
20 | for(register int i = 0; i < M; ++i) cin >> B[i];
| ^
bank.cpp:21:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
21 | for(register int i = 0; i < N; ++i){
| ^
bank.cpp:24:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
24 | for(register int mask = 0; mask <= (1 << M); ++mask){
| ^~~~
bank.cpp:27:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
27 | for(register int j = 0; j < M; ++j){
| ^
bank.cpp:44:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
44 | for(register int i = 0; i < N; ++i) flag &= OK[i];
| ^