/in/foo.cc: In function 'int main()':
/in/foo.cc:13:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (i==x&&j==y||i==x-1&&j==y-2||i==x+1&&j==y-2||i==x-1&&j==y+2||i==x+1&&j==y+2
~~~~^~~~~~
/in/foo.cc:13:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (i==x&&j==y||i==x-1&&j==y-2||i==x+1&&j==y-2||i==x-1&&j==y+2||i==x+1&&j==y+2
~~~~~~^~~~~~~~
/in/foo.cc:13:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (i==x&&j==y||i==x-1&&j==y-2||i==x+1&&j==y-2||i==x-1&&j==y+2||i==x+1&&j==y+2
~~~~~~^~~~~~~~
/in/foo.cc:13:76: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (i==x&&j==y||i==x-1&&j==y-2||i==x+1&&j==y-2||i==x-1&&j==y+2||i==x+1&&j==y+2
~~~~~~^~~~~~~~
/in/foo.cc:14:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
||i==x-2&&j==y+1||i==x+2&&j==y+1||i==x+2&&j==y-1||i==x-2&&j==y-1)
~~~~~~^~~~~~~~
/in/foo.cc:14:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
||i==x-2&&j==y+1||i==x+2&&j==y+1||i==x+2&&j==y-1||i==x-2&&j==y-1)
~~~~~~^~~~~~~~
/in/foo.cc:14:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
||i==x-2&&j==y+1||i==x+2&&j==y+1||i==x+2&&j==y-1||i==x-2&&j==y-1)
~~~~~~^~~~~~~~
/in/foo.cc:14:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
||i==x-2&&j==y+1||i==x+2&&j==y+1||i==x+2&&j==y-1||i==x-2&&j==y-1)
~~~~~~^~~~~~~~