supertrees.cpp: In function 'void dfs(int)':
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'v' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:56:2: note: in expansion of macro 'FOR'
56 | FOR(v, 0, N - 1) {
| ^~~
supertrees.cpp: In function 'void dfs1(int)':
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'v' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:64:2: note: in expansion of macro 'FOR'
64 | FOR(v, 0, N - 1) {
| ^~~
supertrees.cpp: In function 'void dfs2(int)':
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'v' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:72:2: note: in expansion of macro 'FOR'
72 | FOR(v, 1, cnt) {
| ^~~
supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:85:2: note: in expansion of macro 'FOR'
85 | FOR(i, 0, n - 1)
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:86:2: note: in expansion of macro 'FOR'
86 | FOR(j, 0, n - 1)
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:89:2: note: in expansion of macro 'FOR'
89 | FOR(i, 0, n - 1)
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:90:2: note: in expansion of macro 'FOR'
90 | FOR(j, 0, n - 1)
| ^~~
supertrees.cpp:29:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
29 | #define EACH(i, x) for (auto &(i) : (x))
| ^
supertrees.cpp:95:2: note: in expansion of macro 'EACH'
95 | EACH(i, p)
| ^~~~
supertrees.cpp:29:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
29 | #define EACH(i, x) for (auto &(i) : (x))
| ^
supertrees.cpp:96:2: note: in expansion of macro 'EACH'
96 | EACH(j, i)
| ^~~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:100:3: note: in expansion of macro 'FOR'
100 | FOR(i, 0, n - 2) ans[i][i + 1] = ans[i + 1][i] = 1;
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:105:2: note: in expansion of macro 'FOR'
105 | FOR(i, 0, n - 1)
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:106:2: note: in expansion of macro 'FOR'
106 | FOR(j, 0, n - 1)
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:108:2: note: in expansion of macro 'FOR'
108 | FOR(i, 0, n - 1)
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:109:2: note: in expansion of macro 'FOR'
109 | FOR(j, 0, n - 1)
| ^~~
supertrees.cpp:29:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
29 | #define EACH(i, x) for (auto &(i) : (x))
| ^
supertrees.cpp:117:2: note: in expansion of macro 'EACH'
117 | EACH(i, p)
| ^~~~
supertrees.cpp:29:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
29 | #define EACH(i, x) for (auto &(i) : (x))
| ^
supertrees.cpp:118:2: note: in expansion of macro 'EACH'
118 | EACH(j, i)
| ^~~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:122:3: note: in expansion of macro 'FOR'
122 | FOR(i, 0, n - 1) {
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:126:3: note: in expansion of macro 'FOR'
126 | FOR(i, 0, n - 1)
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:127:3: note: in expansion of macro 'FOR'
127 | FOR(j, 0, n - 1) {
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:135:2: note: in expansion of macro 'FOR'
135 | FOR(i, 0, n - 1)
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:136:2: note: in expansion of macro 'FOR'
136 | FOR(j, 0, n - 1)
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:140:3: note: in expansion of macro 'FOR'
140 | FOR(i, 0, n - 1) {
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:146:4: note: in expansion of macro 'FOR'
146 | FOR(j, 0, sz(nodes) - 2) ans[nodes[j]][nodes[j + 1]] = ans[nodes[j + 1]][nodes[j]] = 1;
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:152:2: note: in expansion of macro 'FOR'
152 | FOR(i, 0, n - 1) {
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:156:3: note: in expansion of macro 'FOR'
156 | FOR(j, 0, sz(cc[cnt]) - 2) ans[cc[cnt][j]][cc[cnt][j + 1]] = ans[cc[cnt][j + 1]][cc[cnt][j]] = 1;
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:158:2: note: in expansion of macro 'FOR'
158 | FOR(i, 1, cnt)
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:159:2: note: in expansion of macro 'FOR'
159 | FOR(j, 1, cnt) {
| ^~~
supertrees.cpp:29:31: warning: unnecessary parentheses in declaration of 'x' [-Wparentheses]
29 | #define EACH(i, x) for (auto &(i) : (x))
| ^
supertrees.cpp:162:3: note: in expansion of macro 'EACH'
162 | EACH(x, cc[i])
| ^~~~
supertrees.cpp:29:31: warning: unnecessary parentheses in declaration of 'y' [-Wparentheses]
29 | #define EACH(i, x) for (auto &(i) : (x))
| ^
supertrees.cpp:163:3: note: in expansion of macro 'EACH'
163 | EACH(y, cc[j])
| ^~~~
supertrees.cpp:29:31: warning: unnecessary parentheses in declaration of 'x' [-Wparentheses]
29 | #define EACH(i, x) for (auto &(i) : (x))
| ^
supertrees.cpp:167:3: note: in expansion of macro 'EACH'
167 | EACH(x, cc[i])
| ^~~~
supertrees.cpp:29:31: warning: unnecessary parentheses in declaration of 'y' [-Wparentheses]
29 | #define EACH(i, x) for (auto &(i) : (x))
| ^
supertrees.cpp:168:3: note: in expansion of macro 'EACH'
168 | EACH(y, cc[j])
| ^~~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:175:2: note: in expansion of macro 'FOR'
175 | FOR(i, 1, cnt) {
| ^~~
supertrees.cpp:27:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
supertrees.cpp:181:3: note: in expansion of macro 'FOR'
181 | FOR(j, 0, sz(nodes) - 2) {
| ^~~