Runtime Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:40:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=m;j>0;j--)
^~~
/in/foo.cc:50:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
cout<<f[n][m]<<endl;
^~~~
/in/foo.cc:6:10: warning: unused variable 'j' [-Wunused-variable]
int n,i,j,temp,a[40];
^
/in/foo.cc:6:12: warning: unused variable 'temp' [-Wunused-variable]
int n,i,j,temp,a[40];
^~~~