Rosetta Problems

Minimum Spanning Tree

https://onlinejudge.u-aizu.ac.jp/problems/GRL_2_A