/in/foo.cc: In function 'void turn(int, int)':
/in/foo.cc:11:24: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
gg[i] ^= j-1>=0 ? 7<<j-1 : 7>>1-j;//血的教训,千万不要移动"负数"位
~^~
/in/foo.cc:11:33: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
gg[i] ^= j-1>=0 ? 7<<j-1 : 7>>1-j;//血的教训,千万不要移动"负数"位
~^~
/in/foo.cc: In function 'int solve()':
/in/foo.cc:40:14: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(gg[4]&31==31){ //31 : 11111
~~^~~~