dango_maker.cpp: In function 'int main()':
dango_maker.cpp:73:38: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[y&1][1] = max(dp[y&1^1][0], dp[y&1^1][2]) + 1;
~^~
dango_maker.cpp:73:52: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[y&1][1] = max(dp[y&1^1][0], dp[y&1^1][2]) + 1;
~^~
dango_maker.cpp:76:38: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[y&1][2] = max(dp[y&1^1][0], dp[y&1^1][1]) + 1;
~^~
dango_maker.cpp:76:52: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[y&1][2] = max(dp[y&1^1][0], dp[y&1^1][1]) + 1;
~^~
dango_maker.cpp:78:34: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[y&1][0] = max(dp[y&1^1][1], dp[y&1^1][2]);
~^~
dango_maker.cpp:78:48: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[y&1][0] = max(dp[y&1^1][1], dp[y&1^1][2]);
~^~
dango_maker.cpp:83:25: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
ans += max({dp[y&1^1][0], dp[y&1^1][1], dp[y&1^1][2]});
~^~
dango_maker.cpp:83:39: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
ans += max({dp[y&1^1][0], dp[y&1^1][1], dp[y&1^1][2]});
~^~
dango_maker.cpp:83:53: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
ans += max({dp[y&1^1][0], dp[y&1^1][1], dp[y&1^1][2]});
~^~