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:50:3: note: in expansion of macro 'FOR'
50 | 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:52:4: note: in expansion of macro 'FOR'
52 | 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:55:3: note: in expansion of macro 'FOR'
55 | FOR(i, 1, m) {
| ^~~
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:59:3: note: in expansion of macro 'FOR'
59 | 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:60:3: note: in expansion of macro 'FOR'
60 | 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:63:4: note: in expansion of macro 'FOS'
63 | 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:69:3: note: in expansion of macro 'FOS'
69 | FOS(i, m, 1) {
| ^~~
wiring.cpp: In function 'll subtask2::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:79:3: note: in expansion of macro 'FOR'
79 | FOR(i, 1, n) rs -= r[i];
| ^~~
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:80:3: note: in expansion of macro 'FOR'
80 | FOR(i, 1, m) rs += b[i];
| ^~~
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:3: note: in expansion of macro 'FOR'
81 | FOR(i, 1, m - n) rs -= r[n];
| ^~~
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:3: note: in expansion of macro 'FOR'
82 | FOR(i, 1, n - m) rs += b[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:94:2: note: in expansion of macro 'FOR'
94 | 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:95:2: note: in expansion of macro 'FOR'
95 | 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:98:2: note: in expansion of macro 'FOR'
98 | 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:99:2: note: in expansion of macro 'FOR'
99 | 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:103:2: note: in expansion of macro 'FOR'
103 | 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:104:3: note: in expansion of macro 'FOR'
104 | FOR(j, i - 7 + 1, i)
| ^~~