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:70:3: note: in expansion of macro 'FOR'
70 | 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:79:2: note: in expansion of macro 'FOR'
79 | 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:86:2: note: in expansion of macro 'FOR'
86 | 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:101:3: note: in expansion of macro 'FOR'
101 | 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:109:2: note: in expansion of macro 'FOR'
109 | 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:117:2: note: in expansion of macro 'FOR'
117 | 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:124:2: note: in expansion of macro 'FOR'
124 | 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:133:2: note: in expansion of macro 'FOR'
133 | 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:144:5: note: in expansion of macro 'FOR'
144 | 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:145:5: note: in expansion of macro 'FOR'
145 | 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:146:5: note: in expansion of macro 'FOR'
146 | 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:147:5: note: in expansion of macro 'FOR'
147 | 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:151:5: note: in expansion of macro 'EACH'
151 | 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:153:5: note: in expansion of macro 'FOR'
153 | 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:155:6: note: in expansion of macro 'FOR'
155 | 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:156:6: note: in expansion of macro 'FOR'
156 | 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:159:5: note: in expansion of macro 'EACH'
159 | EACH(i, ans) cout << i << '\n';
| ^~~~