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