bank.cpp: In function 'int main(int, const char**)':
bank.cpp:36:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
36 | if(i == 0 && j == 0 || (i > 0 && dp[i - 1][mask])){}
| ~~~~~~~^~~~~~~~~
bank.cpp:39:27: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
39 | if(nmask & mask == 0){
| ~~~~~^~~~
bank.cpp:13:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
13 | scanf("%d %d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~~
bank.cpp:15:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
15 | scanf("%d", &a[i]);
| ~~~~~^~~~~~~~~~~~~
bank.cpp:18:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
18 | scanf("%d", &b[i]);
| ~~~~~^~~~~~~~~~~~~