foo.cc: In function 'int main()':
foo.cc:19:7: warning: init-statement in selection statements only available with -std=c++1z or -std=gnu++1z
if(s<c[i-1][j-1]+c[i-1][j]+c[i][j-1]+c[i][j]+c[i+1][j]+c[i][j+1]+c[i-1][j+1]+c[i+1][j-1];
^
foo.cc:19:8: warning: statement has no effect [-Wunused-value]
if(s<c[i-1][j-1]+c[i-1][j]+c[i][j-1]+c[i][j]+c[i+1][j]+c[i][j+1]+c[i-1][j+1]+c[i+1][j-1];
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:20:7: error: expected ')' before ';' token
m=i;n=j}
^
foo.cc:20:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
m=i;n=j}
~^~
foo.cc:19:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(s<c[i-1][j-1]+c[i-1][j]+c[i][j-1]+c[i][j]+c[i+1][j]+c[i][j+1]+c[i-1][j+1]+c[i+1][j-1];
^~
foo.cc:20:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
m=i;n=j}
^
foo.cc:20:11: error: expected ';' before '}' token
m=i;n=j}
^
[Hydro](https://hydro.ac)提供评测服务