/in/foo.cc: In function 'int judge(int, int)':
/in/foo.cc:7:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
~~~~~~~^~~~~~~~~
/in/foo.cc:7:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
~~~~^~~~~~
/in/foo.cc:7:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
~~~~~~~^~~~~~~~~
/in/foo.cc:7:82: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
~~~~^~~~~~
/in/foo.cc:7:97: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
~~~~~~~^~~~~~~~~
/in/foo.cc:7:114: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
~~~~^~~~~~
/in/foo.cc:7:129: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
~~~~~~~^~~~~~~~~
/in/foo.cc:7:144: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
~~~~^~~~~~
/in/foo.cc:7:156: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
~~~~^~~~~~