-
greedy
集装箱的装箱问题:
*给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材
*的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得集装
*箱的空间利用率最高?使用贪心算法解决。
*编译方法:打开cpp文件,在编译的同时建立工程,打开 "settings->link"
*在link项的Object/library modules:中加入Opengl32.lib glu32.lib glaux.lib(Container packing problem: given a container, and its length L, width W and height H, the current batch of cylindrical timber, each timber* long are L, but the radius is different for the first i-kan timber radius ri. Asked how the packing, making me be assembled in* the maximum utilization of space? Use greedy algorithm to solve.* Compiler Methods: Open cpp file, compiled at the same time in the establishment of the project, open the settings-)
- 2007-10-14 22:08:37下载
- 积分:1
-
cyuyan
嵌入式C语言入门(Embedded C language entry)
- 2007-11-25 20:24:57下载
- 积分:1
-
180度舵机
180度舵机可以由按键控制,缓慢转180度(The 180 degree steering gear can be controlled by keys and rotates 180 degrees slowly)
- 2020-06-19 10:40:02下载
- 积分:1
-
手柄DEMO_56
基于nordic平台,扫描摇杆的ADC转换成对应的按键坐标值(ADC of Scanning Rocker Converts to Corresponding Key Coordinate Value)
- 2020-06-18 21:00:02下载
- 积分:1
-
concerning electromagnetic wave a small software
有关电磁场电磁波的 一个小型软件-concerning electromagnetic wave a small software
- 2023-06-07 01:00:03下载
- 积分:1
-
FTP源代码
FTP客户端和服务器代码,
FTP协议的核心是客户端与服务器端约定了命令的交互方式,约定一些命令字和返回值,然后和服务器端进行交互。
支持开源共享,支持共同学习。
- 2022-03-29 03:45:15下载
- 积分:1
-
qt界面设计,多主题
一个多主题的界面设计,可以选择多种主题,根据选择实现不同风格的界面,希望大家多多指教,多多提出意见。还有分享多一点qt界面的开源代码
- 2022-08-12 14:58:17下载
- 积分:1
-
ourdev_711996NZMV69
实现LCD12232的点阵显示功能。这是在网络上发现比较好的,发布出来共享(It can let LCD12232 display it s record.It is found on net , for sharing.)
- 2014-11-28 10:42:37下载
- 积分:1
-
DS18B20
ds18b20程序与实验结果,还含有底板与传感器的连接方法。(ds18b20 program with the experimental results, it also contains the base plate and the sensor connection method.)
- 2013-12-01 15:54:20下载
- 积分:1
-
实验5 外部中断实验
正点原子STM32F103精英板按键外部中断例程(Punctual Atom STM32F103 Elite Panel Key External Interruption Routine)
- 2020-06-21 11:00:02下载
- 积分:1