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

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

于 2022-09-10 发布 文件大小:45.05 kB
0 213
下载积分: 2 下载次数: 1

代码说明:

给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。问如何切割使得所使用的矩形板的高度h最小?递归分治,刚才上传的ex1.rar有错,以这个为准.-Given a width W of the rectangular plate, rectangular plate of height restrictions. Is the need to cut out from the board, respectively, n-height hi, a width of the rectangular parts wi. Parts of the rules of cutting height direction and the direction of rectangular plates with a high degree of consistency. Asked how to make the use of cutting rectangular plate of height h the smallest? Recursive sub-rule, has just uploaded ex1.rar wrong, this shall prevail.

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

发表评论

0 个回复

  • c language runtime environment
    c语言的运行环境-c language runtime environment
    2023-03-22 23:00:03下载
    积分:1
  • qt实现的c++扫雷源代码
    实现了基本功能,界面还不太漂亮。但是可以自己对照着自行加入其它代码,整体来说还是可以使用的。ufhsdnlakjroeuwpk;anfkfhglsefgkrjy;we;ekwtjlrh.kgf;sk[eiw[ityl
    2022-07-27 08:11:24下载
    积分:1
  • Man
    文-语转换即Text-to-Speech,简称为TTS,这种技术已经广泛地运用到各种信息查询台、机器人语音等领域中。通过本次实验,了解TTS的基本实现原理,并能在VC++环境中运用TTS技术完成英文的文-语转换。 Windows支持两种RIFF(resource interchange file format,“资源交互文件格式”)音频文件:MIDI的RMID文件和波形音频文件格式Wav文件,而Wav文件是一种经常需要播放获编辑的音频文件,故本实验就要学习设计VC程序完成Wav文件播放的几种不同方法,以深入理解Wav文件的播放原理及VC多媒体程序设计的基本方法。同时,通过一个简单的程序来分析Wav文件的文件头信息,从而深刻理解波形音频文件的构造。 -Man- that is, TTS Text-to-Speech, referred to as the TTS, this technology has been widely applied to various information booth, robot voice And other areas. Through this experiment, to understand the basic realization of TTS principle and VC environment in the use of TTS technology, complete the text in English- language Conversion. Windows supports two types of RIFF (resource interchange file format, "Resource Interactive File Format") audio file: MIDI The RMID file and wave audio file format, Wav files, and Wav file is a regular need for playing audio files have been edited, so the real VC inspection would have to learn the design process is
    2022-04-24 09:17:11下载
    积分:1
  • VB编写的代码管理程序
    总结C51中的位运算并分析了其用法,例如《 》 _cror_()的用法-Summed up in the C51-bit computing and analysis of its usage, for example,
    2022-07-16 02:43:59下载
    积分:1
  • huffman 完成对二进制的编码 输出二进制代码在屏幕上
    huffman 完成对二进制的编码 输出二进制代码在屏幕上 -huffman coding binary output of complete binary code on the screen
    2022-02-05 03:18:46下载
    积分:1
  • android 开发
    云笔记是在Android版本2.2以上开发的,里面运用json技术,解析json字符串。云笔记拥有增加,修改,删除等功能,代码简洁明了,适合初学Android开发的人可以参考
    2022-02-27 06:44:55下载
    积分:1
  • 使用ode45函数,计算双摆模型,同时动画显示结果。并画图相应的相图....
    使用ode45函数,计算双摆模型,同时动画显示结果。并画图相应的相图. -use ode45 function, double pendulum model calculation, the results show animation. Drawing and the corresponding phase diagram.
    2022-09-28 19:10:03下载
    积分:1
  • " Empire download system" for the website information and online video...
    《帝国下载系统》是为网站资料下载与在线影视网站提供的解决方案。功能强大,简单易用,全静态页面,完善的会员收费方案,全面满足免费与收费下载或影视网站需求-" Empire download system" for the website information and online video download site solution. Powerful, easy-to-use, all static pages, a sound program of membership fees, and charges to meet the full free download or demand video Web site
    2023-08-20 05:30:04下载
    积分:1
  • a very small, the drive switches control procedures in the hope that we can give...
    一个非常小的,控制光驱开关的程序,希望大家给一点建议:leilei9098@163.com-a very small, the drive switches control procedures in the hope that we can give some suggestions : leilei9098@163.com
    2022-01-31 09:50:53下载
    积分:1
  • a TrueType Demo Written in asm simple , powerful , interesting
    a TrueType Demo Written in asm simple , powerful , interesting
    2022-08-15 20:28:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载