POJ 3026 Borg Maze 最小生成树+BFS
先用BFS求出点与点之间的距离,然后用kruskal算法求出答案The Borg is an immensely powerful race of enhanced humanoids from the delta quadrant of the galaxy. The Borg collective is the term used to describe the group
原创
2017-09-01 15:07:36 ·
336 阅读 ·
0 评论