文件名称:22
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:857.57kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
装载问题
问题描述与实验目的
有n个集装箱要装上2艘载重量分别为c1和c2的轮船,其中第i个集装箱的重量为wi,要求确定是否有一个合理的装载方案可将这个集装箱装上这2艘轮船。如果有,找出一种装载方案。
注意,在满足 的条件下才可能将这个集装箱装上这2艘轮船。
输入样例
3
10 40 40
50 50
3
20 40 40
50 50
输出样例
Case 1
50 110
Case 2
No
-Loading Problem
Descr iption and purpose of the experiment
N containers are loaded on two to load c1 and c2, respectively, for the ship, which i-weight containers wi, required to determine whether there is a reasonable solution can be loaded the container loaded on the two ships. If so, find a loaded program.
Note that the conditions are met before the container could be loaded on the two ships.
Input sample
3
104,040
50 50
3
204,040
50 50
Sample Output
Case 1
50 110
Case 2
No
问题描述与实验目的
有n个集装箱要装上2艘载重量分别为c1和c2的轮船,其中第i个集装箱的重量为wi,要求确定是否有一个合理的装载方案可将这个集装箱装上这2艘轮船。如果有,找出一种装载方案。
注意,在满足 的条件下才可能将这个集装箱装上这2艘轮船。
输入样例
3
10 40 40
50 50
3
20 40 40
50 50
输出样例
Case 1
50 110
Case 2
No
-Loading Problem
Descr iption and purpose of the experiment
N containers are loaded on two to load c1 and c2, respectively, for the ship, which i-weight containers wi, required to determine whether there is a reasonable solution can be loaded the container loaded on the two ships. If so, find a loaded program.
Note that the conditions are met before the container could be loaded on the two ships.
Input sample
3
104,040
50 50
3
204,040
50 50
Sample Output
Case 1
50 110
Case 2
No
相关搜索: 轮船
(系统自动生成,下载前可以参看下载内容)
下载文件列表
22/22.cpp
22/22.dsp
22/22.dsw
22/22.ncb
22/22.opt
22/22.plg
22/Debug/22.exe
22/Debug/22.ilk
22/Debug/22.obj
22/Debug/22.pch
22/Debug/22.pdb
22/Debug/vc60.idb
22/Debug/vc60.pdb
22/Debug
22
22/22.dsp
22/22.dsw
22/22.ncb
22/22.opt
22/22.plg
22/Debug/22.exe
22/Debug/22.ilk
22/Debug/22.obj
22/Debug/22.pch
22/Debug/22.pdb
22/Debug/vc60.idb
22/Debug/vc60.pdb
22/Debug
22
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.