/in/foo.cc: In function 'int main()':
/in/foo.cc:14:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int k=0;k<=min(j,a[i]);k++)
^~~
/in/foo.cc:16:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
f[i][j]=f[i][j]%1000007;
^
/in/foo.cc:16:7: error: 'i' was not declared in this scope
f[i][j]=f[i][j]%1000007;
^
/in/foo.cc:16:10: error: 'j' was not declared in this scope
f[i][j]=f[i][j]%1000007;
^
/in/foo.cc:17:15: error: expected ';' before ')' token
cout<<f[n][m]);
^