登录
首页 » 数据结构 » Description of the problem: Given n

Description of the problem: Given n

于 2022-04-30 发布 文件大小:738.99 kB
0 210
下载积分: 2 下载次数: 1

代码说明:

问题描述: 给定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.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Linear chain, said the table when the realization of all basic operations, such...
    线性表的链式表示时各基本操作的实现,例如链表的初始化,删除,添加,-Linear chain, said the table when the realization of all basic operations, such as the initialization list, delete, add, and so on
    2022-08-19 16:08:07下载
    积分:1
  • some classic data Data Structure Algorithm code and description.
    非常多的数据结构算法示例代码,以及关于算法的描述文档。-some classic data Data Structure Algorithm code and description.
    2022-12-22 02:00:03下载
    积分:1
  • This is a use of the Java language in a series of small procedures, the java jav...
    这是一个用Java语言编的一个小程序,主要教java初学者如何使用java语言,本例实现数据结构中如何实现排序的一个小例子-This is a use of the Java language in a series of small procedures, the java java beginners how to use the language, in this case the data structure of how to achieve a ranking of small examples
    2022-02-28 14:49:45下载
    积分:1
  • MaxtoCode Standard
    MaxtoCode StandardMaxtoCode StandardMaxtoCode StandardMaxtoMaxtoCode StandardMaxtoCode StandardCode StandardMaxtoCode StandardvvvvvvMaxtoCode StandardMaxtoCode StandardMaxtoCode StandardMaxtoCode StandardMaxtoCode StandardMaxtoCode Standard
    2022-03-15 08:28:59下载
    积分:1
  • Apriori算法实现频繁项集和关联规则
    一共建6个表: 1) 购物表Trade_List(Trade_ID,Product) 2) 频繁一项集Apri
    2022-05-08 00:30:06下载
    积分:1
  • c调用sqlite的完整的程序,对学习sqlite很有帮助
    c调用sqlite的完整的程序,对学习sqlite很有帮助-c call sqlite complete the procedure, very helpful in learning sqlite
    2022-04-16 20:14:15下载
    积分:1
  • 一个很简单的用C写的文本编辑的工具,在tc下运行调试成功 希望对大家有用!...
    一个很简单的用C写的文本编辑的工具,在tc下运行调试成功 希望对大家有用!-a very simple C text editor to write the tools running under the debugger tc success useful for all!
    2022-02-03 20:28:58下载
    积分:1
  • 电子词典
    应用背景电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典电子词典关键技术很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的很好用的
    2022-02-18 15:56:26下载
    积分:1
  • 计算器
    计算器 -calculator 123
    2023-07-27 02:15:03下载
    积分:1
  • mysql-5.0.45.tar.gz
    Mysql5.0的源代码,可以不受系统平台限制,而解决原来使用数据库的软件顺利平移的问题。
    2022-04-11 19:58:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载