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:94:2: note: in expansion of macro 'EACH'
94 | 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:102:2: note: in expansion of macro 'EACH'
102 | 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:114:2: note: in expansion of macro 'FOR'
114 | 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:120:2: note: in expansion of macro 'FOR'
120 | 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:133:2: note: in expansion of macro 'FOR'
133 | 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:138:2: note: in expansion of macro 'FOR'
138 | 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:140:3: note: in expansion of macro 'EACH'
140 | 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:148:2: note: in expansion of macro 'FOR'
148 | 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:150:3: note: in expansion of macro 'EACH'
150 | EACH(j, d[i]) LCA = lca(LCA, j);
| ^~~~