tickets.cpp: In function 'll subtask1::find_maximum(int, std::vector<std::vector<int> >&)':
tickets.cpp:29:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
29 | #define EACH(i, x) for (auto &(i) : (x))
| ^
tickets.cpp:44:3: note: in expansion of macro 'EACH'
44 | EACH(i, x) a.pb(i[0]);
| ^~~~
tickets.cpp:29:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
29 | #define EACH(i, x) for (auto &(i) : (x))
| ^
tickets.cpp:47:3: note: in expansion of macro 'EACH'
47 | EACH(i, a) rs += abs(i - med);
| ^~~~
tickets.cpp:29:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
29 | #define EACH(i, x) for (auto &(i) : (x))
| ^
tickets.cpp:48:3: note: in expansion of macro 'EACH'
48 | EACH(i, x)
| ^~~~
tickets.cpp:29:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
29 | #define EACH(i, x) for (auto &(i) : (x))
| ^
tickets.cpp:49:3: note: in expansion of macro 'EACH'
49 | EACH(j, i)
| ^~~~
tickets.cpp: In function 'll subtask2::find_maximum(int, std::vector<std::vector<int> >&)':
tickets.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
tickets.cpp:60:3: note: in expansion of macro 'FOR'
60 | FOR(i, 0, n - 1) rs -= x[i][0];
| ^~~
tickets.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
tickets.cpp:62:3: note: in expansion of macro 'FOR'
62 | FOR(i, 0, n - 1) a[i] = {x[i][m - 1] - x[i][0], i};
| ^~~
tickets.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
tickets.cpp:64:3: note: in expansion of macro 'FOR'
64 | FOR(i, 0, n - 1)
| ^~~
tickets.cpp:27:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
tickets.cpp:65:3: note: in expansion of macro 'FOR'
65 | FOR(j, 0, m - 1)
| ^~~
tickets.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
tickets.cpp:67:3: note: in expansion of macro 'FOR'
67 | FOR(i, 0, n / 2 - 1) {
| ^~~
tickets.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
tickets.cpp:71:3: note: in expansion of macro 'FOR'
71 | FOR(i, n / 2, n - 1) x[a[i].nd][0] = 0;
| ^~~
tickets.cpp: In function 'long long int find_maximum(int, std::vector<std::vector<int> >)':
tickets.cpp:77:6: warning: unused variable 'n' [-Wunused-variable]
77 | int n = x.size();
| ^