登录
首页 » Windows开发 » 集装箱的装箱问题 给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得...

集装箱的装箱问题 给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得...

于 2022-10-23 发布 文件大小:50.19 kB
0 220
下载积分: 2 下载次数: 1

代码说明:

集装箱的装箱问题 给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得集装箱的空间利用率最高?贪心-Container packing problem given a container, and its length L, width W and height H, the current batch of cylindrical timber, each timber are of a long L, but the radius is different from the first i set the root radius of timber ri. Asked how the packing, making maximum utilization of container space? Greedy

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

发表评论

0 个回复

  • 使用SetupDi...函式列舉設備
    应用背景使用SetupDiGetClassDevs列舉設備,透過SP_DEVINFO_DATA結構及SetupDiEnumDeviceInfo來獲取設備資訊。SetupDiGetClassDevs則是取得類別interface,再透過SetupDiGetDeviceInterfaceDetail取得更多界面資訊。关键技术 使用SetupDi系列函數進行設備資訊的管理,獲取設備屬性: #define SPDRP_DEVICEDESC                  (0x00000000)  // DeviceDesc (R/W) #define SPDRP_HARDWAREID                  (0x00000001)  // *HardwareID (R/W) #define SPDRP_COMPATIBLEIDS               (0x00000002)  // CompatibleIDs (R/W) #define SPDRP_UNUSED0                     (0x00000003)  // unused #define SPDRP_SERVICE                     (0x00000004)  // Service (R/W) #define SPDRP_UNUSED1             &nb
    2022-10-02 04:35:03下载
    积分:1
  • 老外写的一个oracle 封装lib,使用了oci
    老外写的一个oracle 封装lib,使用了oci-Writing a foreigner oracle package lib, using oci
    2022-02-03 04:25:21下载
    积分:1
  • Programming WinCE第二版
    Programming WinCE第二版-second edition of Programming WinCE
    2022-08-06 00:34:18下载
    积分:1
  • 霍夫曼编码译码程序
    霍夫曼编码译码程序-Huffman encoding decoding procedures
    2023-07-16 00:50:03下载
    积分:1
  • NoteXpad 一个用c语言制作的记事本
    NoteXpad 一个用c语言制作的记事本-NoteXpad c language with a production of the notebook
    2023-02-18 04:55:03下载
    积分:1
  • an example paint app in c#
    C#中的简单油漆应用示例;https://www.dropbox.com/s/kv3ozkocp4nxzlf/WindowsFormsApplication19.rar
    2022-10-15 16:30:03下载
    积分:1
  • MFC写的迷宫游戏,搜索算法值得研究
    MFC写的迷宫游戏,搜索算法值得研究,还可以自己调整迷宫,界面友好
    2022-04-19 23:17:59下载
    积分:1
  • 程序目的:两个多项式相加 
    程序目的:两个多项式相加 -procedures Objective : add two polynomials
    2022-05-16 09:23:28下载
    积分:1
  • 实现软键盘,可以在网页中实现软键盘,无需键盘操作。模拟操作...
    实现软键盘,可以在网页中实现软键盘,无需键盘操作。模拟操作-To achieve soft keyboard, you can achieve the soft keyboard page without keyboard operation. Simulation operation
    2022-11-26 00:15:03下载
    积分:1
  • 这个程序演示了如何操作注册表来编写程序,其中…
    本程序演示了如何操作注册表向其中写入程序一般信息及程序运行时所需的变量值。-This program demonstrates how to operate the registry to write programs in which general information and procedures needed to run the variable value.
    2022-06-02 12:22:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载