-
Description of the problem: Given n
问题描述:
给定n个石子,其重量分别a1,a2,a3...an,要求将其划分成m份,每一份的划分费 义为这份石了中最大重量与最小重量的差的平方。总划分费用等丁m份划分费用之和。
编程任务
对于给定的n个石子,求一种划分方案,使得总划分费用最小。-Description 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.
- 2022-04-30 14:06:05下载
- 积分:1
-
K平均聚类法,比较好用,又需要的赶紧下吧
K平均聚类法,比较好用,又需要的赶紧下吧-K-clustering method to compare easy to use, but also hastened to the needs of the next bar
- 2023-01-01 13:55:03下载
- 积分:1
-
对数据库的总分字段进行排序,填充到名次字段中去.
对数据库的总分字段进行排序,填充到名次字段中去.-Total field of the database to sort, filled to the field to finish.
- 2022-07-15 17:50:58下载
- 积分:1
-
在线订单系统,有SQL数据库,欢迎下载!
在线订单系统,有SQL数据库,欢迎下载!-On-line order system, with SQL databases, welcome to download!
- 2022-04-17 17:54:13下载
- 积分:1
-
三层物资管理程序源码
三层物资管理程序源码-three source material management procedures
- 2022-03-23 19:47:59下载
- 积分:1
-
数据结构。拉格朗日插值法算法。通过拉格朗日算法求方程
数据结构。拉格朗日插值法算法。通过拉格朗日算法求方程-Data structure. Lagrange interpolation algorithm. Through the Lagrange method of Equation
- 2022-01-31 22:41:07下载
- 积分:1
-
1.定义哈希表数据结构。
2.除留余数法做为哈希函数、
H(key) = key P
用线性探测再散列解决冲突方法,编写函数,实现哈希造表的过程,并...
1.定义哈希表数据结构。
2.除留余数法做为哈希函数、
H(key) = key P
用线性探测再散列解决冲突方法,编写函数,实现哈希造表的过程,并输出哈希表。
3.编写函数,求查找成功时的平均查找长度(ASL)。-1. Define hash table data structure. 2. In addition to leaving the remainder as the hash function method, H (key) = key P re-hashing with linear probing methods of conflict resolution, write a function to achieve the hash table making process and output of the hash table. 3. Write function, seeking to find success, the average search length (ASL).
- 2022-12-16 12:40:03下载
- 积分:1
-
用VC编写的读取SQL数据库的小程序
用VC编写的读取SQL数据库的小程序-VC prepared by the reader SQL database small program
- 2023-04-17 17:05:03下载
- 积分:1
-
OTP的读者
资源描述软阅读或从华邦25qxx .....与diagramme PCB写OTP!!!
- 2022-07-09 18:14:24下载
- 积分:1
-
严蔚敏编写的《数据结构》第9章的答案,全部为源码
严蔚敏编写的《数据结构》第9章的答案,全部为源码-the answers of chapter 9 of a book called ‘Data Structures’ writen by Yan Wei Min
- 2023-03-28 04:15:04下载
- 积分:1