bank.cpp:28:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main(){
^
bank.cpp: In function 'int main()':
bank.cpp:37:35: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
for( int i = 0; i <= ( 1 << m + 1 ); i ++ ){
~~^~~
bank.cpp:13:23: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
#define fin(s) freopen( s, "r", stdin )
~~~~~~~^~~~~~~~~~~~~~~~~
bank.cpp:30:5: note: in expansion of macro 'fin'
fin( "bank.in" );
^~~
bank.cpp:14:24: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
#define fout(s) freopen( s, "w", stdout )
~~~~~~~^~~~~~~~~~~~~~~~~~
bank.cpp:31:5: note: in expansion of macro 'fout'
fout( "bank.out" );
^~~~