/in/foo.cc: In function 'int main()':
/in/foo.cc:41:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[i][1]==a[i][2]==a[i][3]==1)
~~~~~~~^~~~~~~~~
/in/foo.cc:41:22: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[i][1]==a[i][2]==a[i][3]==1)
~~~~~~~~~~~~~~~~^~~~~~~~~
/in/foo.cc:46:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[i][1]==a[i][2]==a[i][3]==2)
~~~~~~~^~~~~~~~~
/in/foo.cc:46: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:46:22: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[i][1]==a[i][2]==a[i][3]==2)
~~~~~~~~~~~~~~~~^~~~~~~~~
/in/foo.cc:54:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[1][i]==a[2][i]==a[3][i]==1)
~~~~~~~^~~~~~~~~
/in/foo.cc:54:22: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[1][i]==a[2][i]==a[3][i]==1)
~~~~~~~~~~~~~~~~^~~~~~~~~
/in/foo.cc:59:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[1][i]==a[2][i]==a[3][i]==2)
~~~~~~~^~~~~~~~~
/in/foo.cc:59: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:59:22: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[1][i]==a[2][i]==a[3][i]==2)
~~~~~~~~~~~~~~~~^~~~~~~~~