[K10] Kattis: MST problem (3 pts) [00P7]

Solve one of the following Kattis problems requiring the computation of a minimum spanning tree: