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