race.cpp:1:8: error: 'pll' was not declared in this scope
1 | vector<pll> edges[3003];
| ^~~
race.cpp:1:8: error: 'pll' was not declared in this scope
race.cpp:1:8: error: 'pll' was not declared in this scope
race.cpp:1:8: error: 'pll' was not declared in this scope
race.cpp:1:8: error: 'pll' was not declared in this scope
race.cpp:1:8: error: 'pll' was not declared in this scope
race.cpp:1:8: error: 'pll' was not declared in this scope
race.cpp:1:8: error: 'pll' was not declared in this scope
race.cpp:1:8: error: 'pll' was not declared in this scope
race.cpp:1:1: error: 'vector' does not name a type
1 | vector<pll> edges[3003];
| ^~~~~~
race.cpp:3:1: error: 'll' does not name a type
3 | ll edgedepth[3003], weightdepth[3003];
| ^~
race.cpp:5:1: error: 'll' does not name a type
5 | ll root, seconddaddy[3003];
| ^~
race.cpp:7:6: error: variable or field 'dfs' declared void
7 | void dfs(ll node, ll par){
| ^~~
race.cpp:7:10: error: 'll' was not declared in this scope
7 | void dfs(ll node, ll par){
| ^~
race.cpp:7:19: error: 'll' was not declared in this scope
7 | void dfs(ll node, ll par){
| ^~
race.cpp: In function 'int best_path(int, int, int (*)[2], int*)':
race.cpp:24:9: error: 'edges' was not declared in this scope
24 | edges[H[i][0]].push_back({H[i][1], L[i]});
| ^~~~~
race.cpp:28:9: error: 'root' was not declared in this scope
28 | for(root=0; root < N; root++){
| ^~~~
race.cpp:30:13: error: 'edgedepth' was not declared in this scope
30 | edgedepth[i] = weightdepth[i] = seconddaddy[i] = 0;
| ^~~~~~~~~
race.cpp:30:28: error: 'weightdepth' was not declared in this scope
30 | edgedepth[i] = weightdepth[i] = seconddaddy[i] = 0;
| ^~~~~~~~~~~
race.cpp:30:45: error: 'seconddaddy' was not declared in this scope
30 | edgedepth[i] = weightdepth[i] = seconddaddy[i] = 0;
| ^~~~~~~~~~~
race.cpp:32:9: error: 'dfs' was not declared in this scope
32 | dfs(root, root);
| ^~~
race.cpp:35:21: error: 'seconddaddy' was not declared in this scope
35 | if (seconddaddy[i] == seconddaddy[j] or weightdepth[i] + weightdepth[j] != K) continue;
| ^~~~~~~~~~~
race.cpp:35:57: error: 'weightdepth' was not declared in this scope
35 | if (seconddaddy[i] == seconddaddy[j] or weightdepth[i] + weightdepth[j] != K) continue;
| ^~~~~~~~~~~
race.cpp:37:25: error: 'll' was not declared in this scope
37 | ans=min(ll(ans), edgedepth[i] + edgedepth[j]);
| ^~
race.cpp:37:34: error: 'edgedepth' was not declared in this scope
37 | ans=min(ll(ans), edgedepth[i] + edgedepth[j]);
| ^~~~~~~~~
race.cpp:37:21: error: 'min' was not declared in this scope
37 | ans=min(ll(ans), edgedepth[i] + edgedepth[j]);
| ^~~