Problem rabbitbridges
User Pan
Submission Time 2024-01-19 17:04:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rabbitbridges.cpp: In function ‘ll find(ll, ll)’:
rabbitbridges.cpp:23:37: error: ‘siz’ was not declared in this scope; did you mean ‘sin’?
23 | if (par[d].find(x)==par[d].end()) {siz[d][x] = 1; return par[d][x] = x;}
| ^~~
| sin
rabbitbridges.cpp: In function ‘void unite(ll, ll, ll)’:
rabbitbridges.cpp:34:6: error: ‘siz’ was not declared in this scope; did you mean ‘sin’?
34 | if (siz[d][a]<siz[d][b]) swap(a,b);
| ^~~
| sin