
最小生成树
Z~柳
这个作者很懒,什么都没留下…
展开
-
最小生成树之城市规划
问题描述:You are assigned to design network connections between certain points in a wide area. You are given a set of points in the area, and a set of possible routes for the cables that may connect pair...原创 2019-01-27 10:10:30 · 590 阅读 · 0 评论 -
hdu1102(最小生成树)
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 B are connected, if and only if t...原创 2019-01-28 21:07:17 · 259 阅读 · 0 评论 -
poj1251维修公路(最小生成树)
The Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent on extra roads between villages some years ago. But the jungle overtakes roads relentlessly, s...原创 2019-02-15 13:16:18 · 180 阅读 · 0 评论 -
poj1751 最小生成树(Prim算法和Kruskal算法)
The island nation of Flatopia is perfectly flat. Unfortunately, Flatopia has a very poor system of public highways. The Flatopian government is aware of this problem and has already constructed a numb...原创 2019-03-05 16:44:02 · 361 阅读 · 0 评论