dango_maker.cpp: In function 'int main()':
dango_maker.cpp:36:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
36 | if (u = pos[i][j][LEFT]) {
| ~~^~~~~~~~~~~~~~~~~
dango_maker.cpp:37:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
37 | if (v = pos[i][j][DOWN]) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~
dango_maker.cpp:38:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
38 | if (v = pos[i][j][RIGHT]) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~
dango_maker.cpp:39:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
39 | if (v = pos[i][j][UP]) 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, DOWN)) 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+1, j+1, UP)) 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-2, j+2, DOWN)) 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, UP)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~
dango_maker.cpp:45:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
45 | if (v = tag(i, j+4, RIGHT)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~~
dango_maker.cpp:47:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
47 | if (u = pos[i][j][DOWN]) {
| ~~^~~~~~~~~~~~~~~~~
dango_maker.cpp:48:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
48 | if (v = pos[i][j][LEFT]) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~
dango_maker.cpp:49:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
49 | if (v = pos[i][j][RIGHT]) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~
dango_maker.cpp:50:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
50 | if (v = pos[i][j][UP]) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~
dango_maker.cpp:52:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
52 | if (v = tag(i+1, j-1, RIGHT)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~~~~
dango_maker.cpp:53:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
53 | if (v = tag(i+1, j+1, LEFT)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~~~
dango_maker.cpp:54:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
54 | if (v = tag(i+2, j-2, RIGHT)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~~~~
dango_maker.cpp:55:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
55 | if (v = tag(i+2, j+2, LEFT)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~~~
dango_maker.cpp:56:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
56 | if (v = tag(i+4, j, UP)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~
dango_maker.cpp:58:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
58 | if (u = pos[i][j][RIGHT]) {
| ~~^~~~~~~~~~~~~~~~~~
dango_maker.cpp:59:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
59 | if (v = pos[i][j][DOWN]) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~
dango_maker.cpp:60:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
60 | if (v = pos[i][j][LEFT]) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~
dango_maker.cpp:61:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
61 | if (v = pos[i][j][UP]) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~
dango_maker.cpp:63:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
63 | if (v = tag(i-1, j-1, DOWN)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~~~
dango_maker.cpp:64:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
64 | if (v = tag(i+1, j-1, UP)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~
dango_maker.cpp:65:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
65 | if (v = tag(i-2, j-2, DOWN)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~~~
dango_maker.cpp:66:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
66 | if (v = tag(i+2, j-2, UP)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~
dango_maker.cpp:67:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
67 | if (v = tag(i, j-4, LEFT)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~
dango_maker.cpp:69:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
69 | if (u = pos[i][j][UP]) {
| ~~^~~~~~~~~~~~~~~
dango_maker.cpp:70:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
70 | if (v = pos[i][j][LEFT]) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~
dango_maker.cpp:71:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
71 | if (v = pos[i][j][RIGHT]) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~
dango_maker.cpp:72:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
72 | if (v = pos[i][j][DOWN]) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~
dango_maker.cpp:74:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
74 | if (v = tag(i-1, j-1, RIGHT)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~~~~
dango_maker.cpp:75:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
75 | if (v = tag(i-1, j+1, LEFT)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~~~
dango_maker.cpp:76:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
76 | if (v = tag(i-2, j-2, RIGHT)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~~~~
dango_maker.cpp:77:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
77 | if (v = tag(i-2, j+2, LEFT)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~~~
dango_maker.cpp:78:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
78 | if (v = tag(i-4, j, DOWN)) G[u].emplace_back(v);
| ~~^~~~~~~~~~~~~~~~~~~