登录
首页 » 算法 » 给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致...

给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致...

于 2022-10-31 发布 文件大小:1.34 kB
0 102
下载积分: 2 下载次数: 1

代码说明:

给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。要求求出一种切割法使得所使用的矩形板的高度h最小.用递归及分治法解此问题-given a width of the rectangular plate W, the height of rectangular plate unrestricted. Board is required from the respective cut out n height of the hi, wi width of the rectangular parts. Cutting parts to the rules of the height of the rectangular plate with a high degree of consistent direction. Asked obtained a law made by cutting the use of the rectangular plate height h minimum. Using recursive and partition Solving this problem

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

发表评论

0 个回复

  • VC prepared using a multi
    用VC编写的一个多功能图形界面计算器,不仅能实现简单的加减乘除,还能实现乘方,开方等算术。-VC prepared using a multi-functional graphical interface calculator, not only simple addition and subtraction, multiplication and division to achieve, but also the realization of involution, evolution, such as arithmetic.
    2022-04-02 00:31:00下载
    积分:1
  • php代码用于初学者学习
      编写程序,在菜单列表框中选择多本图书,单击’提交’按钮,输出用户的选择值。初学者可以看下
    2023-08-06 22:45:03下载
    积分:1
  • 求解对角线元素很小的矩阵的逆矩阵,避免一般求逆的溢出问题,用Fortran编写...
    求解对角线元素很小的矩阵的逆矩阵,避免一般求逆的溢出问题,用Fortran编写-small diagonal elements of the matrix inverse matrix inversion generally avoid the overflow problems, Fortran prepared
    2022-07-13 06:23:04下载
    积分:1
  • 数字陷波滤波器设计代码与原理文档
          采用老外的滤波器的资料设计的数字陷波器,数字陷波设计的matlab代码以及数字陷波的原理,可以做到实时有效,已经在项目中验证过了。
    2022-09-16 20:00:03下载
    积分:1
  • 人工智能作业,专家系统实现的水果分类小专家系统。
    人工智能作业,专家系统实现的水果分类小专家系统。-Artificial intelligence operation, expert system classification of fruit a small expert system.
    2022-07-23 17:29:10下载
    积分:1
  • 快速表达式运
    快速表达式运算 - The fast expression operates
    2022-10-06 00:55:03下载
    积分:1
  • Apriori 的 c + + 实现
    Alpha plus 算法在 c + + 中的实现。  包括输入和输出 txt文件。
    2022-02-03 05:38:54下载
    积分:1
  • 数值积分实现对一阶微分方程组的计:通过编写程序语言,运用欧拉,预报校正,龙格库塔的方实现对x1微分=x2 x2微分=x3 x3微分=...
    数值积分算法实现对一阶微分方程组的计算:通过编写程序语言,运用欧拉,预报校正,龙格库塔的方法实现对x1微分=x2 x2微分=x3 x3微分=-800*x1-80*x2-24*x3+sin(t); y=800x1 的运算-Numerical integration algorithm for the calculation of first-order differential equations: through the preparation of programming language, the use of Euler and forecast correction, Runge-Kutta method of achieving x1 differential = x2 x2 differential = x3 x3 differential =- 800* x1-80* x2-24* x3+ sin (t) y = 800x1 computing
    2022-01-26 00:33:59下载
    积分:1
  • mk检验程序
    在excel中做秩次检验,第一列输入要检验的序列,清空后边几列,点击“运行”即可计算!
    2022-03-03 16:52:27下载
    积分:1
  • 非局部均值滤波
    资源描述图像去噪图像处理中的非局部均值算法。不同于“局部均值”的过滤器,它采取的平均值的一组像素周围的目标像素的平滑图像,非局部均值滤波,以平均的所有像素的图像,加权类似这些像素的目标像素。这导致了更大的后过滤的清晰度,减少损失图像中的细节与局部均值算法比较。
    2022-02-27 07:56:04下载
    积分:1
  • 696518资源总数
  • 106222会员总数
  • 14今日下载