bank.cpp: In function 'void dfs(long long int, long long int, long long int, long long int, long long int)':
bank.cpp:34:10: warning: unused variable 'mx' [-Wunused-variable]
bool mx = 0;
^~
bank.cpp: At global scope:
bank.cpp:42:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main(){
^
bank.cpp: In function 'int main()':
bank.cpp:46:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d %I64d",&n,&m);
~~ ^
bank.cpp:46:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
bank.cpp:48:28: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d",&a[i]);
~~~~~^
bank.cpp:50:54: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
for( int i = 1; i <= m; i ++ )scanf("%I64d",&b[i]);
~~~~~^
bank.cpp:46:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d %I64d",&n,&m);
~~~~~^~~~~~~~~~~~~~~~~~~~~
bank.cpp:48:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&a[i]);
~~~~~^~~~~~~~~~~~~~~
bank.cpp:50:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for( int i = 1; i <= m; i ++ )scanf("%I64d",&b[i]);
~~~~~^~~~~~~~~~~~~~~