最小生成树

样例输入 Sample Input

4

0  4  9 21

4  0  8 17

9  8  0 16

21 17 16  0

原文地址:https://www.cnblogs.com/thmyl/p/7359282.html