| Problem | citymapping |
|---|---|
| User | JustKitkat |
| Submission Time | 2025-02-13 13:44:33 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
citymapping.cpp: In function ‘void find_roads(int, int, int*, int*, int*)’:
citymapping.cpp:8:5: error: ‘UnionFind’ was not declared in this scope
8 | UnionFind uf(N+5);
| ^~~~~~~~~
citymapping.cpp:19:13: error: ‘uf’ was not declared in this scope; did you mean ‘u’?
19 | if(!uf.isSameSet(u,v))A[p]=u,B[p]=v,W[p]=x.first,p++;
| ^~
| u
citymapping.cpp:20:9: error: ‘uf’ was not declared in this scope; did you mean ‘u’?
20 | uf.unionSet(u,v);
| ^~
| u