-
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
-
有关启发式搜索的经典算法:A*最短路径算法的实例和对应程序。关注的朋友可以留意一下。(比传统的Dijistra算法效率高很多哦!^_^)...
有关启发式搜索的经典算法:A*最短路径算法的实例和对应程序。关注的朋友可以留意一下。(比传统的Dijistra算法效率高很多哦!^_^)-the heuristic search algorithm of the classic : A* shortest path algorithm examples and the corresponding procedures. Concerned friends can look. (Dijistra than the traditional algorithm efficiency is much higher oh 70,000
- 2022-01-26 05:59:44下载
- 积分:1
-
数据结构典型算法实现,c实现二叉树的遍历以及赫夫曼编码
数据结构典型算法实现,c实现二叉树的遍历以及赫夫曼编码-data structure typical algorithm, c achieve the traversal of a binary tree Huffman coding
- 2022-05-08 12:13:08下载
- 积分:1
-
数据结构二叉树的源码
数据结构二叉树的源码-binary tree data structure FOSS
- 2023-01-19 08:50:03下载
- 积分:1
-
自然灾害管理系统
建立文件,自然资源管理系统,统计全国各地历年的灾害发生情况,并且进行搜素排序,主要以链表为主,建立文件,进行存储,实现插入,查询,删除,排序等功能
- 2022-03-25 04:20:25下载
- 积分:1
-
用C++实现的工资管理系统!这里用了数据结构中的链表!
用C++实现的工资管理系统!这里用了数据结构中的链表!-Using C++ implementation of the salary management system! Here with a list data structure!
- 2022-01-24 13:21:10下载
- 积分:1
-
delphi写的读股票K线源代码
delphi写的读股票K线源代码-stock was read source code K Line
- 2022-03-24 17:36:21下载
- 积分:1
-
SR-tree is an index structure for high-dimensional nearest neighbor queries,C++ sourcecode. SR-tree outperforms the R*-tree and the SS-tree especially for high-dimensional and non-uniform data which are likely to appear in the actual image / video applications.-SR-tree is an index structure for high-dimensional nearest neighbor queries,C++ sourcecode. SR-tree outperforms the R*-tree and the SS-tree especially for high-dimensional and non-uniform data which are likely to appear in the actual image/video applications.
- 2022-07-04 13:52:17下载
- 积分:1
-
一个最短路径算法,具体内容程序开头有介绍
一个最短路径算法,具体内容程序开头有介绍-a shortest path algorithm, the specific content of the beginning of a process introduced
- 2022-10-19 13:15:02下载
- 积分:1
-
根据储蓄管理条例,计算储蓄定期利息的程序。
根据储蓄管理条例,计算储蓄定期利息的程序。-savings under the regulations, the periodic interest savings calculation procedures.
- 2023-08-31 09:45:03下载
- 积分:1