mergers.cpp: In function 'void build()':
mergers.cpp:32:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
32 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
mergers.cpp:55:2: note: in expansion of macro 'FOR'
55 | FOR(j, 1, 18)
| ^~~
mergers.cpp:32:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
32 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
mergers.cpp:56:2: note: in expansion of macro 'FOR'
56 | FOR(i, 1, n)
| ^~~
mergers.cpp: In function 'int lca(int, int)':
mergers.cpp:32:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
32 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
mergers.cpp:62:2: note: in expansion of macro 'FOR'
62 | FOR(i, 0, 18)
| ^~~
mergers.cpp:33:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
33 | #define FOS(i, r, l) for (int (i) = (r); (i) >= (l); --(i))
| ^
mergers.cpp:66:2: note: in expansion of macro 'FOS'
66 | FOS(i, 18, 0)
| ^~~
mergers.cpp: In function 'void dfs(int, int)':
mergers.cpp:36:31: warning: unnecessary parentheses in declaration of 'v' [-Wparentheses]
36 | #define EACH(i, x) for (auto &(i) : (x))
| ^
mergers.cpp:76:2: note: in expansion of macro 'EACH'
76 | EACH(v, adj[u]) {
| ^~~~
mergers.cpp: In function 'void dfs1(int, int)':
mergers.cpp:36:31: warning: unnecessary parentheses in declaration of 'v' [-Wparentheses]
36 | #define EACH(i, x) for (auto &(i) : (x))
| ^
mergers.cpp:85:2: note: in expansion of macro 'EACH'
85 | EACH(v, adj[u]) {
| ^~~~
mergers.cpp: In function 'int fct(int, int, int)':
mergers.cpp:36:31: warning: unnecessary parentheses in declaration of 'v' [-Wparentheses]
36 | #define EACH(i, x) for (auto &(i) : (x))
| ^
mergers.cpp:93:2: note: in expansion of macro 'EACH'
93 | EACH(v, adj[u]) {
| ^~~~
mergers.cpp: In function 'void dfs2(int, int)':
mergers.cpp:36:31: warning: unnecessary parentheses in declaration of 'v' [-Wparentheses]
36 | #define EACH(i, x) for (auto &(i) : (x))
| ^
mergers.cpp:101:2: note: in expansion of macro 'EACH'
101 | EACH(v, adj[u]) {
| ^~~~
mergers.cpp: In function 'int main()':
mergers.cpp:32:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
32 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
mergers.cpp:113:2: note: in expansion of macro 'FOR'
113 | FOR(i, 1, n - 1) {
| ^~~
mergers.cpp:32:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
32 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
mergers.cpp:119:2: note: in expansion of macro 'FOR'
119 | FOR(i, 1, n) {
| ^~~
mergers.cpp:32:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
32 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
mergers.cpp:132:2: note: in expansion of macro 'FOR'
132 | FOR(i, 1, n)
| ^~~
mergers.cpp:32:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
32 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
mergers.cpp:137:2: note: in expansion of macro 'FOR'
137 | FOR(i, 1, k) {
| ^~~
mergers.cpp:36:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
36 | #define EACH(i, x) for (auto &(i) : (x))
| ^
mergers.cpp:139:3: note: in expansion of macro 'EACH'
139 | EACH(j, d[i]) LCA = lca(LCA, j);
| ^~~~
mergers.cpp:32:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
32 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
mergers.cpp:147:2: note: in expansion of macro 'FOR'
147 | FOR(i, 1, k) {
| ^~~
mergers.cpp:36:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
36 | #define EACH(i, x) for (auto &(i) : (x))
| ^
mergers.cpp:149:3: note: in expansion of macro 'EACH'
149 | EACH(j, d[i]) LCA = lca(LCA, j);
| ^~~~