-
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
-
功能强大的查询系统操作方便易懂好用不会繁琐数据库也强大...
功能强大的查询系统操作方便易懂好用不会繁琐数据库也强大-Powerful query system will not be easy to use easy-to-understand red tape is also a powerful database
- 2022-06-27 10:28:27下载
- 积分:1
-
可以建立函数输入二叉树,并输出其赫夫曼树。在上交资料中请写明:存储结构、 基本算法(可以使用程序流程图) 、输入输出、源程序、测试数据和结果、算法的时间复杂度、...
可以建立函数输入二叉树,并输出其赫夫曼树。在上交资料中请写明:存储结构、 基本算法(可以使用程序流程图) 、输入输出、源程序、测试数据和结果、算法的时间复杂度、另外可以提出算法的改进方法;-The establishment of Huffman tree
- 2022-03-17 01:35:33下载
- 积分:1
-
as MMX, SSE, SSE2 optimization of MEMCPY than the VC lot faster MEMCPY
经MMX, SSE 2优化后的MEMCPY,比VC中的MEMCPY快不少-as MMX, SSE, SSE2 optimization of MEMCPY than the VC lot faster MEMCPY
- 2022-06-16 21:01:26下载
- 积分:1
-
一个相当好的树状目录程序,实用于动态网站数据库,可以动态显示产品目录结构...
一个相当好的树状目录程序,实用于动态网站数据库,可以动态显示产品目录结构-err
- 2022-04-11 20:48:01下载
- 积分:1
-
利用深度遍历的方法来检查8数码问题是否有解。
利用深度遍历的方法来检查8数码问题是否有解。-use depth traverse method to check whether the eight digital solutions to the problem.
- 2022-09-14 12:35:03下载
- 积分:1
-
在线图像编辑
名为EEZZY TICKETZ该项目是机票预订与Web服务的在线解决方案。该eezzy门票是可以被任何人谁拥有互联网连接来访问互联网的应用程序。此应用程序将门票及查询预约自动对票的有效性。
该项目包括一个主站的JSP和Android应用程序中。该网站不仅用来显示公司简介和使用系统管理员。所有的注册过程是由系统管理员使用的主网站完成。客户可以下载Android应用程序,并利用它来进行订票目的。
所有的功能都写为Web服务,而Web服务使用存储数据库操作的程序。
- 2022-02-15 19:42:45下载
- 积分:1
-
这个程序可以计算两个城市的距离
This program can caculate the distance of two city
- 2023-07-09 12:00:03下载
- 积分:1
-
Variable postfix infix expression evaluation: Enter the expression,# to end the...
中缀变后缀表达式求值:输入表达式,#为结束符(如1+2#),程序会自动给出后缀表达式,并给出最终计算结果。程序中部分地方有注释-Variable postfix infix expression evaluation: Enter the expression,# to end the character (eg, 1+2#), the program will automatically give postfix expression, and gives the end result. Some parts of the program annotated
- 2022-05-29 12:56:14下载
- 积分:1
-
A source of commercial software, including databases, graphics and other operati...
一个商业软件的源码,含数据库,图形等多种操作-A source of commercial software, including databases, graphics and other operating
- 2022-02-03 08:59:00下载
- 积分:1