/in/foo.cc: In function 'int bfs(int, int)':
/in/foo.cc:15:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=0;i<4;i++)
^~~
/in/foo.cc:17:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
ty=hy[head]+nexx[i][1];
^~
/in/foo.cc:18:37: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(!a[tx][ty]&&tx<11&&tx>0&&ty<11&ty>0)
~~^~~
/in/foo.cc:26:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc:17:25: warning: array subscript is above array bounds [-Warray-bounds]
ty=hy[head]+nexx[i][1];
~~~~~~^