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:73:3: note: in expansion of macro 'FOR'
73 | 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:82:2: note: in expansion of macro 'FOR'
82 | 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:89:2: note: in expansion of macro 'FOR'
89 | 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:104:3: note: in expansion of macro 'FOR'
104 | 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:112:2: 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: 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:136:2: note: in expansion of macro 'FOR'
136 | 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:147:5: note: in expansion of macro 'FOR'
147 | 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:148:5: note: in expansion of macro 'FOR'
148 | 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:149:5: note: in expansion of macro 'FOR'
149 | 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:150:5: note: in expansion of macro 'FOR'
150 | 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:154:5: note: in expansion of macro 'EACH'
154 | 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:156:5: note: in expansion of macro 'FOR'
156 | 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:158:6: note: in expansion of macro 'FOR'
158 | 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:159:6: note: in expansion of macro 'FOR'
159 | 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:162:5: note: in expansion of macro 'FOR'
162 | FOR(i, 0, sz(ans) - 1) cout << ans[i] << '\n';
| ^~~