bank.cpp: In function 'int main()':
bank.cpp:47:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
47 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
bank.cpp:49:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
49 | scanf("%d", a+i);
| ~~~~~^~~~~~~~~~~
bank.cpp:53:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
53 | scanf("%d", b+i);
| ~~~~~^~~~~~~~~~~