foo.cc: In function 'int main()':
foo.cc:22:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (ans[i][j]!=-1)
^~
foo.cc:24:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (j>0 && ans[i][j-1]!=-1) ans[i][j] += ans[i][j-1];
^~
foo.cc:24:9: error: 'j' was not declared in this scope
if (j>0 && ans[i][j-1]!=-1) ans[i][j] += ans[i][j-1];
^
foo.cc:24:20: error: 'i' was not declared in this scope
if (j>0 && ans[i][j-1]!=-1) ans[i][j] += ans[i][j-1];
^
[Hydro](https://hydro.ac)提供评测服务