文件名称:paixu
-
所属分类:
- 标签属性:
- 上传时间:2016-12-07
-
文件大小:707byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
第一行包括两个数字 N(村子数量 2 < N < 1,000)M(可以修的道路数量 1 < M <
20,000)
在下面的 M 行中,每行有 3 个数字 ABC,表示 AB 两个村庄之间的道路长度是 C。
条件:这条路尽可能的长并且把所有村庄连在一起,这条路不存在环-The first line contains two numbers N (village number 2 < N < 1,000) M (the number of road can repair 1 < M < 20,000) in the following M lines, each line has three digital ABC, showing length of the road between the two villages is AB C. Conditions: this road as long as possible and put together all the villages, there is no ring road
20,000)
在下面的 M 行中,每行有 3 个数字 ABC,表示 AB 两个村庄之间的道路长度是 C。
条件:这条路尽可能的长并且把所有村庄连在一起,这条路不存在环-The first line contains two numbers N (village number 2 < N < 1,000) M (the number of road can repair 1 < M < 20,000) in the following M lines, each line has three digital ABC, showing length of the road between the two villages is AB C. Conditions: this road as long as possible and put together all the villages, there is no ring road
(系统自动生成,下载前可以参看下载内容)
下载文件列表
排序2-2(最大生成树).cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.