bank.cpp: In function 'bool rec(int, int)':
bank.cpp:35:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for (i=0;i<v[x].size();++i){
| ~^~~~~~~~~~~~
bank.cpp: At global scope:
bank.cpp:48:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
48 | main(){
| ^
bank.cpp: In function 'int main()':
bank.cpp:55:9: warning: unused variable 'x' [-Wunused-variable]
55 | int x = 0;
| ^
bank.cpp:15:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
15 | #define scan2(a,b) scanf("%d %d",&a, &b);
| ~~~~~^~~~~~~~~~~~~~~~
bank.cpp:50:5: note: in expansion of macro 'scan2'
50 | scan2(n,m)
| ^~~~~
bank.cpp:14:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
14 | #define scan1(a) scanf("%d",&a);
| ~~~~~^~~~~~~~~
bank.cpp:52:9: note: in expansion of macro 'scan1'
52 | scan1(a[i])
| ^~~~~
bank.cpp:14:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
14 | #define scan1(a) scanf("%d",&a);
| ~~~~~^~~~~~~~~
bank.cpp:54:9: note: in expansion of macro 'scan1'
54 | scan1(b[i])
| ^~~~~