wiring.cpp: In function 'll subtask1::solve()':
wiring.cpp:26:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
26 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
wiring.cpp:46:3: note: in expansion of macro 'FOR'
46 | FOR(i, 1, m) {
| ^~~
wiring.cpp:26:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
26 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
wiring.cpp:48:4: note: in expansion of macro 'FOR'
48 | FOR(j, 1, n) f[i] = min(f[i], abs(b[i] - r[j]));
| ^~~
wiring.cpp:26:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
26 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
wiring.cpp:50:3: note: in expansion of macro 'FOR'
50 | FOR(i, 1, n)
| ^~~
wiring.cpp:26:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
26 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
wiring.cpp:51:3: note: in expansion of macro 'FOR'
51 | FOR(j, 1, m) {
| ^~~
wiring.cpp:27:31: warning: unnecessary parentheses in declaration of 'z' [-Wparentheses]
27 | #define FOS(i, r, l) for (int (i) = (r); (i) >= (l); --(i))
| ^
wiring.cpp:54:4: note: in expansion of macro 'FOS'
54 | FOS(z, j, 1) {
| ^~~
wiring.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOS(i, r, l) for (int (i) = (r); (i) >= (l); --(i))
| ^
wiring.cpp:60:3: note: in expansion of macro 'FOS'
60 | FOS(i, m, 1) {
| ^~~
wiring.cpp: In function 'long long int min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:26:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
26 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
wiring.cpp:84:2: note: in expansion of macro 'FOR'
84 | FOR(i, 1, n) ::r[i] = r[i - 1];
| ^~~
wiring.cpp:26:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
26 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
wiring.cpp:85:2: note: in expansion of macro 'FOR'
85 | FOR(i, 1, m) ::b[i] = b[i - 1];
| ^~~
wiring.cpp:26:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
26 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
wiring.cpp:88:2: note: in expansion of macro 'FOR'
88 | FOR(i, 0, n - 1) a.pb({r[i], 0});
| ^~~
wiring.cpp:26:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
26 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
wiring.cpp:89:2: note: in expansion of macro 'FOR'
89 | FOR(i, 0, m - 1) a.pb({b[i], 1});
| ^~~
wiring.cpp:26:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
26 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
wiring.cpp:93:2: note: in expansion of macro 'FOR'
93 | FOR(i, 6, n + m - 1) {
| ^~~
wiring.cpp:26:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
26 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
wiring.cpp:94:3: note: in expansion of macro 'FOR'
94 | FOR(j, i - 7 + 1, i)
| ^~~