Rosetta Problems

Incremental Minimum Spanning Forest

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