Rosetta Problems

Range Parallel Unionfind

https://judge.yosupo.jp/problem/range_parallel_unionfind