文件名称:test5-2
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 739kb
- 下载次数:
- 0次
- 提 供 者:
- 伍**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
问题描述:
给定n个石子,其重量分别a1,a2,a3...an,要求将其划分成m份,每一份的划分费 义为这份石了中最大重量与最小重量的差的平方。总划分费用等丁m份划分费用之和。
编程任务
对于给定的n个石子,求一种划分方案,使得总划分费用最小。-Descr iption of the problem: Given n-stones, its weight, respectively a1, a2, a3 ... an, asked that it be divided into m copies, each of the division of costs defined as the weight of the stone of the largest and the smallest weight difference the square. Small m the total costs were divided into the sum of the cost. Programming tasks for a given n-stones, seek a kind of division, making the total cost of the smallest division.
给定n个石子,其重量分别a1,a2,a3...an,要求将其划分成m份,每一份的划分费 义为这份石了中最大重量与最小重量的差的平方。总划分费用等丁m份划分费用之和。
编程任务
对于给定的n个石子,求一种划分方案,使得总划分费用最小。-Descr iption of the problem: Given n-stones, its weight, respectively a1, a2, a3 ... an, asked that it be divided into m copies, each of the division of costs defined as the weight of the stone of the largest and the smallest weight difference the square. Small m the total costs were divided into the sum of the cost. Programming tasks for a given n-stones, seek a kind of division, making the total cost of the smallest division.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
test5-2\Debug\test5-2.exe
.......\.....\test5-2.ilk
.......\.....\test5-2.pdb
.......\test5-2\Debug\BuildLog.htm
.......\.......\.....\mt.dep
.......\.......\.....\stdafx.obj
.......\.......\.....\test5-2.exe.embed.manifest
.......\.......\.....\test5-2.exe.embed.manifest.res
.......\.......\.....\test5-2.exe.intermediate.manifest
.......\.......\.....\test5-2.obj
.......\.......\.....\test5-2.pch
.......\.......\.....\vc90.idb
.......\.......\.....\vc90.pdb
.......\.......\ReadMe.txt
.......\.......\stdafx.cpp
.......\.......\stdafx.h
.......\.......\targetver.h
.......\.......\test5-2.cpp
.......\.......\test5-2.vcproj
.......\.......\test5-2.vcproj.B9F12BE2664840F.Administrator.user
.......\test5-2.ncb
.......\test5-2.sln
.......\test5-2.suo
.......\.......\Debug
.......\Debug
.......\test5-2
test5-2
.......\.....\test5-2.ilk
.......\.....\test5-2.pdb
.......\test5-2\Debug\BuildLog.htm
.......\.......\.....\mt.dep
.......\.......\.....\stdafx.obj
.......\.......\.....\test5-2.exe.embed.manifest
.......\.......\.....\test5-2.exe.embed.manifest.res
.......\.......\.....\test5-2.exe.intermediate.manifest
.......\.......\.....\test5-2.obj
.......\.......\.....\test5-2.pch
.......\.......\.....\vc90.idb
.......\.......\.....\vc90.pdb
.......\.......\ReadMe.txt
.......\.......\stdafx.cpp
.......\.......\stdafx.h
.......\.......\targetver.h
.......\.......\test5-2.cpp
.......\.......\test5-2.vcproj
.......\.......\test5-2.vcproj.B9F12BE2664840F.Administrator.user
.......\test5-2.ncb
.......\test5-2.sln
.......\test5-2.suo
.......\.......\Debug
.......\Debug
.......\test5-2
test5-2