stations.cpp: In function 'void subtask1::dfs(int, int)':
stations.cpp:29:31: warning: unnecessary parentheses in declaration of 'v' [-Wparentheses]
29 | #define EACH(i, x) for (auto &(i) : (x))
| ^
stations.cpp:47:3: note: in expansion of macro 'EACH'
47 | EACH(v, adj[u]) {
| ^~~~
stations.cpp: In function 'vi subtask1::label()':
stations.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
stations.cpp:54:3: note: in expansion of macro 'FOR'
54 | FOR(i, 0, N - 1)
| ^~~
stations.cpp: In function 'std::vector<int> label(int, int, std::vector<int>, std::vector<int>)':
stations.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
stations.cpp:64:2: note: in expansion of macro 'FOR'
64 | FOR(i, 0, n - 2) {
| ^~~
stations.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
stations.cpp:70:2: note: in expansion of macro 'FOR'
70 | FOR(i, 0, n - 1) maxdeg = max(maxdeg, sz(adj[i]));
| ^~~
stations.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
stations.cpp:73:3: note: in expansion of macro 'FOR'
73 | FOR(i, 0, n - 1) adj[i].clear();
| ^~~
stations.cpp: In function 'int find_next_station(int, int, std::vector<int>)':
stations.cpp:29:31: warning: unnecessary parentheses in declaration of 'u' [-Wparentheses]
29 | #define EACH(i, x) for (auto &(i) : (x))
| ^
stations.cpp:80:2: note: in expansion of macro 'EACH'
80 | EACH(u, c) {
| ^~~~
stations.cpp: In function 'std::vector<int> label(int, int, std::vector<int>, std::vector<int>)':
stations.cpp:76:1: warning: control reaches end of non-void function [-Wreturn-type]
76 | }
| ^