bank.cpp:11:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
11 | main() {
| ^~~~
bank.cpp: In function 'int main()':
bank.cpp:12:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | scanf("%lld %lld", &N, &M);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
bank.cpp:14:38: 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("%lld", &A[i]);
| ~~~~~^~~~~~~~~~~~~~~
bank.cpp:15:38: 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("%lld", &B[i]);
| ~~~~~^~~~~~~~~~~~~~~