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:19:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
19 | for(register int i = 0; i < M; ++i) cin >> B[i];
| ^
bank.cpp:20:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
20 | for(register int i = 0; i < N; ++i){
| ^
bank.cpp:23:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
23 | for(register int mask = 0; mask < (1 << M); ++mask){
| ^~~~
bank.cpp:26:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
26 | for(register int j = 0; j < M; ++j){
| ^
bank.cpp:43:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
43 | for(register int i = 0; i < N; ++i) flag &= OK[i];
| ^