Problem subgraphs
User CKCodeBreaker55
Submission Time 2025-05-22 13:11:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subgraphs.cpp: In function ‘void connect(long long int, long long int, long long int*, std::vector<long long int>&)’:
subgraphs.cpp:26:11: error: ‘rankOfRoob’ was not declared in this scope; did you mean ‘rankOfRoot’?
26 | else if (rankOfRoob[rootX] < rankOfRoot[rootY])
| ^~~~~~~~~~
| rankOfRoot