最小生成树
箱@子
这个作者很懒,什么都没留下…
展开
-
HDU - 1102 基础最小生成树
Constructing Roads HDU - 1102 There are N villages, which are numbered from 1 to N, and you should build some roads such that every two villages can connect to each other. We say two village A and...原创 2019-07-16 11:39:42 · 153 阅读 · 0 评论 -
HDU - 1102 基础最小生成树prim + 优先队列 + 链式前向星存图(2)
Constructing Roads HDU - 1102 There are N villages, which are numbered from 1 to N, and you should build some roads such that every two villages can connect to each other. We say two village A and ...原创 2019-09-03 20:29:11 · 213 阅读 · 0 评论