/in/foo.cc: In function 'int main()':
/in/foo.cc:40:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[i][1]==a[i][2]==a[i][3]==1)
~~~~~~~^~~~~~~~~
/in/foo.cc:40:22: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[i][1]==a[i][2]==a[i][3]==1)
~~~~~~~~~~~~~~~~^~~~~~~~~
/in/foo.cc:45:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[i][1]==a[i][2]==a[i][3]==2)
~~~~~~~^~~~~~~~~
/in/foo.cc:45:31: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare]
if(a[i][1]==a[i][2]==a[i][3]==2)
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/in/foo.cc:45:22: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[i][1]==a[i][2]==a[i][3]==2)
~~~~~~~~~~~~~~~~^~~~~~~~~
/in/foo.cc:53:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[1][i]==a[2][i]==a[3][i]==1)
~~~~~~~^~~~~~~~~
/in/foo.cc:53:22: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[1][i]==a[2][i]==a[3][i]==1)
~~~~~~~~~~~~~~~~^~~~~~~~~
/in/foo.cc:58:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[1][i]==a[2][i]==a[3][i]==2)
~~~~~~~^~~~~~~~~
/in/foo.cc:58:31: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare]
if(a[1][i]==a[2][i]==a[3][i]==2)
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/in/foo.cc:58:22: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[1][i]==a[2][i]==a[3][i]==2)
~~~~~~~~~~~~~~~~^~~~~~~~~