dango_maker.cpp: In function 'int main()':
dango_maker.cpp:34:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
34 | if (u = pos[i][j][LEFT]) {
| ~~^~~~~~~~~~~~~~~~~
dango_maker.cpp:35:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
35 | if (v = pos[i][j][DOWN]) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~
dango_maker.cpp:37:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
37 | if (v = tag(i-1, j+1, DOWN)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~~~
dango_maker.cpp:38:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
38 | if (v = tag(i-2, j+2, DOWN)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~~~
dango_maker.cpp:40:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
40 | if (u = pos[i][j][DOWN]) {
| ~~^~~~~~~~~~~~~~~~~
dango_maker.cpp:41:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
41 | if (v = pos[i][j][LEFT]) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~
dango_maker.cpp:43:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
43 | if (v = tag(i+1, j+1, LEFT)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~~~
dango_maker.cpp:44:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
44 | if (v = tag(i+2, j+2, LEFT)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~~~