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