printer.cpp: In function 'int dp(int, bool)':
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:71:3: note: in expansion of macro 'FOR'
71 | 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:80:2: note: in expansion of macro 'FOR'
80 | 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:87:2: note: in expansion of macro 'FOR'
87 | FOR(z, 0, 25) {
| ^~~
printer.cpp: In function 'void trace(int, bool)':
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:102:3: note: in expansion of macro 'FOR'
102 | 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:110:2: note: in expansion of macro 'FOR'
110 | 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:118:2: note: in expansion of macro 'FOR'
118 | 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:125:2: note: in expansion of macro 'FOR'
125 | 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:134:2: note: in expansion of macro 'FOR'
134 | 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:145:5: note: in expansion of macro 'FOR'
145 | 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:146:5: note: in expansion of macro 'FOR'
146 | 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:147:5: note: in expansion of macro 'FOR'
147 | 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:148:5: note: in expansion of macro 'FOR'
148 | 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:152:5: note: in expansion of macro 'EACH'
152 | 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:154:5: note: in expansion of macro 'FOR'
154 | 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:156:6: note: in expansion of macro 'FOR'
156 | 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:157:6: note: in expansion of macro 'FOR'
157 | FOR(j, len, sz(s[cur]) - 1) ans.pb(s[cur][j]);
| ^~~
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:160:5: note: in expansion of macro 'FOR'
160 | FOR(i, 0, sz(ans) - 1) cout << ans[i] << '\n';
| ^~~