Rosetta Problems

Second best minimum spanning tree

https://marisaoj.com/problem/560