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