race.cpp:4:22: error: invalid declarator before 'Ver'
4 | vector<pair<int,int>>Ver[200'005];
| ^~~
race.cpp: In function 'int dfs_sz(int, int)':
race.cpp:13:47: error: a function-definition is not allowed here before '{' token
13 | void upd(int u,bool cz,int suma,int ile,int v){
| ^
race.cpp:29:13: error: 'Ver' was not declared in this scope
29 | for(auto &x:Ver[u]){
| ^~~
race.cpp: In function 'int cent(int, int, int)':
race.cpp:38:17: error: 'Ver' was not declared in this scope
38 | for(auto &x:Ver[u]){
| ^~~
race.cpp: In function 'void centroid(int)':
race.cpp:49:17: error: 'Ver' was not declared in this scope
49 | for(auto &x:Ver[cent]){
| ^~~
race.cpp:50:9: error: 'upd' was not declared in this scope
50 | upd(x.first,1,x.second,1,-1);
| ^~~
race.cpp:56:17: error: 'Ver' was not declared in this scope
56 | for(auto &x:Ver[root]){
| ^~~
race.cpp: In function 'int best_path(int, int, int (*)[2], int*)':
race.cpp:66:5: error: 'Ver' was not declared in this scope
66 | Ver[V[i][0]+1].push_back({V[i][1]+1,len[i]});
| ^~~