race.cpp:10:8: error: 'vector' does not name a type
10 | static vector<pair<ll, ll>> adj[MAXN];
| ^~~~~~
race.cpp:13:8: error: 'map' does not name a type
13 | static map<ll, ll> maps[MAXN];
| ^~~
race.cpp: In function 'void dfs(long long int, long long int)':
race.cpp:17:2: error: 'maps' was not declared in this scope
17 | maps[node][sum[node]] = depth[node];
| ^~~~
race.cpp:18:7: error: 'pair' was not declared in this scope
18 | for (pair<ll, ll> nxt : adj[node]) {
| ^~~~
race.cpp:2:12: error: expected primary-expression before 'long'
2 | #define ll long long
| ^~~~
race.cpp:18:12: note: in expansion of macro 'll'
18 | for (pair<ll, ll> nxt : adj[node]) {
| ^~
race.cpp:45:1: error: expected primary-expression before '}' token
45 | }
| ^
race.cpp:44:3: error: expected ';' before '}' token
44 | }
| ^
| ;
45 | }
| ~
race.cpp:45:1: error: expected primary-expression before '}' token
45 | }
| ^
race.cpp:44:3: error: expected ')' before '}' token
44 | }
| ^
| )
45 | }
| ~
race.cpp:18:6: note: to match this '('
18 | for (pair<ll, ll> nxt : adj[node]) {
| ^
race.cpp:45:1: error: expected primary-expression before '}' token
45 | }
| ^
race.cpp: In function 'int best_path(int, int, int (*)[2], int*)':
race.cpp:52:3: error: 'adj' was not declared in this scope
52 | adj[H[i][0]].push_back({H[i][1], L[i]});
| ^~~