Rosetta Problems

Minimum Spanning Tree

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