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