Problem | race |
---|---|
User | PlayVoltz |
Submission Time | 2023-10-27 15:32:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
race.cpp: In function ‘void build(int, int, int)’:
race.cpp:41:53: error: expected ‘)’ before ‘;’ token
41 | int centroid = centroidfind(u, p, dfs_size(u ,p););
| ~ ^
| )
race.cpp:41:54: error: expected primary-expression before ‘)’ token
41 | int centroid = centroidfind(u, p, dfs_size(u ,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:58:17: error: ‘struct std