stations.cpp: In function 'void dfs(int, int)':
stations.cpp:14:8: warning: left operand of comma operator has no effect [-Wunused-value]
14 | debug("dfs %d\n",x);
| ^~~~~~~~~~
stations.cpp: In function 'std::vector<int> label(int, int, std::vector<int>, std::vector<int>)':
stations.cpp:46:9: warning: left operand of comma operator has no effect [-Wunused-value]
46 | debug("%d ",i);
| ^~~~~
stations.cpp:47:8: warning: statement has no effect [-Wunused-value]
47 | debug("\n");
| ~^~~~~
stations.cpp:51:57: error: a function-definition is not allowed here before '{' token
51 | int find_next_station(int s, int t, std::vector<int> c) {
| ^
stations.cpp:80:1: error: expected '}' at end of input
80 | }
| ^
stations.cpp:24:78: note: to match this '{'
24 | std::vector<int> label(int n, int k, std::vector<int> u, std::vector<int> v) {
| ^
stations.cpp:80:1: warning: control reaches end of non-void function [-Wreturn-type]
80 | }
| ^