文件名称:agrinet
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:586byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
USACO agrinet 题解,农民约翰被选为他们镇的镇长!他其中一个竞选承诺就是在镇上建立起互联网,并连接到所有的农场。当然,他需要你的帮助。 约翰已经给他的农场安排了一条高速的网络线路,他想把这条线路共享给其他农场。为了使花费最少,他想铺设最短的光纤去连接所有的农场。 你将得到一份各农场之间连接费用的列表,你必须找出能连接所有农场并所用光纤最短的方案。 每两个农场间的距离不会超过100000 -USACO agrinet problem solution, Farmer John, was elected mayor of their town! One of his campaign promises in the town to establish the Internet and connect to all farms. Of course, he needs your help. To his farm, John has arranged a high-speed network line, he wants to lines shared with other farms. In order to spend at least, he thought that the laying of the shortest fiber to connect all the farm. You will get the connection costs between each farm is a list, you must find the program can connect all the farms and the shortest optical fiber. The distance between the two farms will not be more than 100,000
(系统自动生成,下载前可以参看下载内容)
下载文件列表
agrinet.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.