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:47:3: note: in expansion of macro 'FOR'
47 | 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:49:4: note: in expansion of macro 'FOR'
49 | 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:51:3: note: in expansion of macro 'FOR'
51 | 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:52:4: note: in expansion of macro 'FOR'
52 | 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:55:5: note: in expansion of macro 'FOS'
55 | FOS(z, j, 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:81:2: note: in expansion of macro 'FOR'
81 | 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:82:2: note: in expansion of macro 'FOR'
82 | 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:85:2: note: in expansion of macro 'FOR'
85 | 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:86:2: note: in expansion of macro 'FOR'
86 | 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:90:2: note: in expansion of macro 'FOR'
90 | 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:91:3: note: in expansion of macro 'FOR'
91 | FOR(j, i - 7 + 1, i)
| ^~~