Rosetta Problems
← yosupo に戻る
Persistent Unionfind
https://judge.yosupo.jp/problem/persistent_unionfind