stations.cpp: In function 'void dfs(int, int, int)':
stations.cpp:17:9: error: expected ';' before '}' token
17 | in++
| ^
| ;
18 | }
| ~
stations.cpp: In function 'std::vector<int> label(int, int, std::vector<int>, std::vector<int>)':
stations.cpp:27:14: error: too few arguments to function 'void dfs(int, int, int)'
27 | dfs(0, -1);
| ^
stations.cpp:12:6: note: declared here
12 | void dfs(int nd, int ss, int d){
| ^~~
stations.cpp: In function 'int find_next_station(int, int, std::vector<int>)':
stations.cpp:40:28: error: 'std::vector<int>::iterator' {aka 'class __gnu_cxx::__normal_iterator<int*, std::vector<int> >'} has no member named 'c'
40 | reverse(c.begin(). c.end());
| ^