printer.cpp: In function 'int dp(int, bool)':
printer.cpp:32:31: warning: unnecessary parentheses in declaration of 'z' [-Wparentheses]
32 | #define EACH(i, x) for (auto &(i) : (x))
| ^
printer.cpp:72:2: note: in expansion of macro 'EACH'
72 | EACH(z, trie[i].leaf) nv += 2 * sz(s[z]) + 1;
| ^~~~
printer.cpp:30:31: warning: unnecessary parentheses in declaration of 'z' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
printer.cpp:75:3: note: in expansion of macro 'FOR'
75 | FOR(z, 0, 25) {
| ^~~
printer.cpp:30:31: warning: unnecessary parentheses in declaration of 'z' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
printer.cpp:85:2: note: in expansion of macro 'FOR'
85 | FOR(z, 0, 25) {
| ^~~
printer.cpp:30:31: warning: unnecessary parentheses in declaration of 'z' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
printer.cpp:91:2: note: in expansion of macro 'FOR'
91 | FOR(z, 0, 25) {
| ^~~
printer.cpp: In function 'void trace(int, bool)':
printer.cpp:32:31: warning: unnecessary parentheses in declaration of 'z' [-Wparentheses]
32 | #define EACH(i, x) for (auto &(i) : (x))
| ^
printer.cpp:107:2: note: in expansion of macro 'EACH'
107 | EACH(z, trie[i].leaf) {
| ^~~~
printer.cpp:30:31: warning: unnecessary parentheses in declaration of 'z' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
printer.cpp:112:3: note: in expansion of macro 'FOR'
112 | FOR(z, 0, 25) {
| ^~~
printer.cpp:30:31: warning: unnecessary parentheses in declaration of 'z' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
printer.cpp:120:2: note: in expansion of macro 'FOR'
120 | FOR(z, 0, 25) {
| ^~~
printer.cpp:30:31: warning: unnecessary parentheses in declaration of 'z' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
printer.cpp:127:2: note: in expansion of macro 'FOR'
127 | FOR(z, 0, 25) {
| ^~~
printer.cpp:30:31: warning: unnecessary parentheses in declaration of 'z' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
printer.cpp:137:2: note: in expansion of macro 'FOR'
137 | FOR(z, 0, 25) {
| ^~~
printer.cpp: In function 'int lcp(str&, str&)':
printer.cpp:30:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
printer.cpp:146:2: note: in expansion of macro 'FOR'
146 | FOR(i, 0, min(sz(a), sz(b)) - 1) {
| ^~~
printer.cpp: In function 'int main()':
printer.cpp:30:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
printer.cpp:157:5: note: in expansion of macro 'FOR'
157 | FOR(i, 1, n) cin >> s[i];
| ^~~
printer.cpp:30:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
printer.cpp:158:5: note: in expansion of macro 'FOR'
158 | FOR(i, 1, n) add(root, 0, s[i], i);
| ^~~
printer.cpp:30:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
printer.cpp:159:5: note: in expansion of macro 'FOR'
159 | FOR(i, 1, cnt)
| ^~~
printer.cpp:30:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
printer.cpp:160:5: note: in expansion of macro 'FOR'
160 | FOR(j, 0, 1)
| ^~~
printer.cpp:32:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
32 | #define EACH(i, x) for (auto &(i) : (x))
| ^
printer.cpp:164:5: note: in expansion of macro 'EACH'
164 | EACH(i, s[p[0]]) ans.pb(i);
| ^~~~
printer.cpp:30:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
printer.cpp:166:5: note: in expansion of macro 'FOR'
166 | FOR(i, 1, n - 1) {
| ^~~
printer.cpp:30:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
printer.cpp:168:6: note: in expansion of macro 'FOR'
168 | FOR(j, 1, sz(s[pre]) - len) ans.pb('-');
| ^~~
printer.cpp:30:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
printer.cpp:169:6: note: in expansion of macro 'FOR'
169 | FOR(j, len, sz(s[cur]) - 1) ans.pb(s[cur][j]);
| ^~~
printer.cpp:32:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
32 | #define EACH(i, x) for (auto &(i) : (x))
| ^
printer.cpp:172:5: note: in expansion of macro 'EACH'
172 | EACH(i, ans) cout << i << '\n';
| ^~~~