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

Description of the problem: Given n

于 2022-04-30 发布 文件大小:738.99 kB
0 167
下载积分: 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 个回复

  • 员工
    使用数据库的优点是相当大的。如果没有他们,你将很难找到一个体面的保持和管理信息系统。近年来,更大的灵活性和方便用户的数据库使这些系统关键业务组件。许多数据库解决方案是可用于任何类型的业务需求,从存储到 WordPress 博客的网络服务的客户信息矩阵。这里使用的是数据库的原因
    2022-02-06 10:51:21下载
    积分:1
  • 用Eclipse里面的SWT控件对连接库的实现
    用Eclipse里面的SWT控件对连接数据库的实现 -Using Eclipse
    2022-08-14 04:53:06下载
    积分:1
  • ACCESS VBA编写系统托盘源程序源码,效果很不错
    ACCESS VBA编写系统托盘源程序源码,效果很不错-ACCESS VBA source code to prepare the system tray, the effect is pretty good
    2022-07-12 06:17:20下载
    积分:1
  • The document completed Kruskal algorithm. This document consists of three catego...
    本文件主要完成Kruskal算法。本文件包括三个类,分别是顶点类、边类和Kruskal类。-The document completed Kruskal algorithm. This document consists of three categories, namely category vertex, edge type and Kruskal category.
    2022-05-23 10:24:28下载
    积分:1
  • 2013年北邮预录取上机考试题解答
    本次上机考试包括4题,求P点,求日期,求最大值与最小值,和求最小距离。 难度以最P点与求最小距离较难。题目在文件中已包含,写有详细的注释。
    2022-08-11 05:44:53下载
    积分:1
  • 学籍管理信息系统
    学籍管理信息系统-expulsion Management Information System
    2022-08-03 14:50:10下载
    积分:1
  • 用VC编写基于ADO的库程序
    用VC编写基于ADO的数据库程序-VC prepared based on ADO database program
    2022-03-20 02:51:09下载
    积分:1
  • 这个是Hilbert曲线的实现算法,可以具体演示出每级曲线的绘制过程,最多可实现8级曲线的绘制....
    这个是Hilbert曲线的实现算法,可以具体演示出每级曲线的绘制过程,最多可实现8级曲线的绘制.-Hilbert Curve is the realization of the algorithm can be demonstrated that each specific grade curve of the process of drawing up to achieve eight curve drawing.
    2022-06-18 23:23:49下载
    积分:1
  • 库的资源管理系统
    用数据库的资源管理系统-use database resource management system
    2022-02-21 08:14:19下载
    积分:1
  • 本书是关于计算机科学与工程领域的基础性研究科目之一――与算法的专著。 本书在简要回顾了基本的C++ 程序设计概念的基础上,全面系统地介绍了队列、堆栈、树
    本书是关于计算机科学与工程领域的基础性研究科目之一――数据结构与算法的专著。 本书在简要回顾了基本的C++ 程序设计概念的基础上,全面系统地介绍了队列、堆栈、树、图等基本数据结构,以及贪婪算法、分而治之算法、分枝定界算法等多种算法设计方法,为数据结构与算法的继续学习和研究奠定了一个坚实的基础。更为可贵的是,本书不仅仅介绍了理论知识,还提供了50多个应用实例及600多道练习题。 本书内容广博权威,结构清晰合理,是一本全新的有关数据结构与算法的教材,对于计算机科学与工程领域的从业人员也是一本很好的参考书。-the book is on the computer science and engineering fields, the basis for one of the subjects of study-- data structure and algorithm monographs. The book in a brief review of the basic design concept C program on the basis of a comprehensive and systematic introduction of the queue, stack, trees and map basic data structure and the greedy algorithm, divide and conquer algorithm, branch-and-bound algorithm multiple algorithm design methods, data structures and algorithms for continuous learning Research and lay a solid foundation. Even more valuable is that the book not only on the theoretical knowledge but also provided more than 50 application examples and more than 600 Exercises Road. The contents broad authority, a clear and reasona
    2022-01-21 04:28:51下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载