/in/foo.cc: In function 'bool get(int)':
/in/foo.cc:12:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if( a[0][0]==a[1][1]&&a[1][1]==a[2][2]&&a[1][1]==k||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:14:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
a[0][0]==a[0][1]&&a[0][1]==a[0][2]&&a[0][1]==k||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:15:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
a[1][0]==a[1][1]&&a[1][1]==a[1][2]&&a[1][1]==k||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:16:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
a[2][0]==a[2][1]&&a[2][1]==a[2][2]&&a[2][1]==k||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:17:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
a[0][0]==a[1][0]&&a[1][0]==a[2][0]&&a[1][0]==k||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:18:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
a[0][1]==a[1][1]&&a[1][1]==a[2][1]&&a[1][1]==k||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:19:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
a[0][2]==a[1][2]&&a[1][2]==a[2][2]&&a[1][2]==k) return 1;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc: In function 'std::__cxx11::string work()':
/in/foo.cc:25:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(win1&&win2||cnt1-cnt2!=0&&cnt1-cnt2!=1) return "illegal";
~~~~^~~~~~