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