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

Compile Error

race.cpp: In function ‘void build(int, int, int)’:
race.cpp:41:48: error: ‘x’ was not declared in this scope
41 | int centroid = centroidfind(u, p, dfs_size(x,p););
| ^
race.cpp:41:53: error: expected primary-expression before ‘)’ token
41 | int centroid = centroidfind(u, p, dfs_size(x,p););
| ^
race.cpp:48:17: error: ‘struct std::pair<int, int>’ has no member named ‘fi’
48 | check(i.fi,c,i.se,1);
| ^~
race.cpp:48:20: error: ‘c’ was not declared in this scope
48 | check(i.fi,c,i.se,1);
| ^
race.cpp:48:24: error: ‘struct std::pair<int, int>’ has no member named ‘se’
48 | check(i.fi,c,i.se,1);
| ^~
race.cpp:57:16: error: ‘tmp’ was not declared in this scope; did you mean ‘temp’?
57 | for(a