F - connect the cities HDU - 3371 最小生成树kruskal

NoSuchKey