stations.cpp:11:1: error: expected initializer before 'vector'
11 | vector <int> vi[2005];
| ^~~~~~
stations.cpp: In function 'void dfs(int, int)':
stations.cpp:14:5: error: 'd' was not declared in this scope
14 | d[x].f = cnt++;
| ^
stations.cpp:15:25: error: 'vi' was not declared in this scope
15 | for (int j = 0; j < vi[x].size(); j++){
| ^~
stations.cpp: In function 'std::vector<int> label(int, int, std::vector<int>, std::vector<int>)':
stations.cpp:26:9: error: 'vi' was not declared in this scope; did you mean 'i'?
26 | vi[i].clear();
| ^~
| i
stations.cpp:27:9: error: 'd' was not declared in this scope
27 | d[i].f = 0;
| ^
stations.cpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for (int i = 0; i < u.size(); i++){
| ~~^~~~~~~~~~
stations.cpp:31:9: error: 'vi' was not declared in this scope; did you mean 'i'?
31 | vi[u[i]].pb(v[i]);
| ^~
| i
stations.cpp:37:16: error: 'class std::vector<int>' has no member named 'pb'
37 | labels.pb((d[i].f) * 1000 + d[i].s);
| ^~
stations.cpp:37:20: error: 'd' was not declared in this scope
37 | labels.pb((d[i].f) * 1000 + d[i].s);
| ^
stations.cpp: In function 'int find_next_station(int, int, std::vector<int>)':
stations.cpp:43:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for (int i = 1; i < v1.size();i++)
| ~~^~~~~~~~~~~