
最小生成树
文章平均质量分 87
岩霏
这个作者很懒,什么都没留下…
展开
-
POJ 2485 Highways
Highways The island nation of Flatopia is perfectly flat. Unfortunately, Flatopia has no public highways. So the traffic is difficult in Flatopia. The Flatopian government is aware of this problem. The原创 2017-08-03 19:53:41 · 166 阅读 · 0 评论 -
HDU 1875 畅通工程再续
畅通工程再续相信大家都听说一个“百岛湖”的地方吧,百岛湖的居民生活在不同的小岛中,当他们想去其他的小岛时都要通过划小船来实现。现在政府决定大力发展百岛湖,发展首先要解决的问题当然是交通问题,政府决定实现百岛湖的全畅通!经过考察小组RPRush对百岛湖的情况充分了解后,决定在符合条件的小岛间建上桥,所谓符合条件,就是2个小岛之间的距离不能小于10米,也不能大于1000米。当然,为了节省资金,只要求实现原创 2017-08-03 20:12:38 · 163 阅读 · 0 评论 -
POJ1789-Truck History
Truck HistoryAdvanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for vegetable delivery, other for furniture, or for bricks. The company has its own code describing each原创 2017-08-03 20:38:42 · 395 阅读 · 0 评论 -
HDU1301 Jungle Roads
Jungle RoadsThe 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 relen原创 2017-08-03 20:24:56 · 195 阅读 · 0 评论