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:115:2: note: in expansion of macro 'FOR'
115 | 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:121:2: note: in expansion of macro 'FOR'
121 | 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:134:2: note: in expansion of macro 'FOR'
134 | 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:139:2: note: in expansion of macro 'FOR'
139 | 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:141:3: note: in expansion of macro 'EACH'
141 | 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:149:2: note: in expansion of macro 'FOR'
149 | 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:151:3: note: in expansion of macro 'EACH'
151 | EACH(j, d[i]) LCA = lca(LCA, j);
| ^~~~