/in/foo.cc: In function 'void f(int, int, int, int)':
/in/foo.cc:19:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){
~~~~^~~~~~
/in/foo.cc:19:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){
~~~~~~^~~~~~~~
/in/foo.cc:19:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){
~~~~~~^~~~~~~~
/in/foo.cc:19:77: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){
~~~~~~^~~~~~~~
/in/foo.cc:19:93: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){
~~~~~~^~~~~~~~
/in/foo.cc:19:109: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){
~~~~~~^~~~~~~~
/in/foo.cc:19:125: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){
~~~~~~^~~~~~~~
/in/foo.cc:19:141: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){
~~~~~~^~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:44:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=0;i<n+1;i++)
^~~
/in/foo.cc:48:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
a[1][1]=2;
^