Problem race
User PlayVoltz
Submission Time 2023-10-27 15:31:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

race.cpp:12:5: error: ‘ii’ was not declared in this scope; did you mean ‘pii’?
12 | set<ii> adj[MAXN];
| ^~
| pii
race.cpp:12:7: error: template argument 1 is invalid
12 | set<ii> adj[MAXN];
| ^
race.cpp:12:7: error: template argument 2 is invalid
race.cpp:12:7: error: template argument 3 is invalid
race.cpp: In function ‘int dfs_size(int, int)’:
race.cpp:19:14: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
19 | for (auto v:graph[u]){
| ^~~~~
| isgraph
race.cpp:21:15: error: ‘dfs’ was not declared in this scope; did you mean ‘ffs’?
21 | subtree[u]+=dfs(v.first, u);
| ^~~
| ffs
race.cpp:23:9: error: ‘sub’ was not declared in this scope; did you mean ‘fsub’?
23 | return sub[u];
| ^~~
| fsub
race.cpp: In function ‘int centroidfind(in