文件名称:dukou
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 260kb
- 下载次数:
- 0次
- 提 供 者:
- 张**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
有一个渡口,每条渡轮一次能装载10辆汽车过江,过江车辆分为客车和货车两类,上渡轮有如下规定:
⑴同类汽车先到先上船;
⑵客车先于货车上船;
⑶每上4辆客车才允许上一辆货车,但若等待的客车不足4辆则用货车填补,反过来,若没有货车等待则用客车填补;
⑷装满10辆后则自动开船,当等待时间较长时车辆不足10辆也应人为控制发船。
-There is a ferry, and each time the ferry can carry 10 vehicles crossing the river, crossing the river of vehicles is divided into two types of passenger cars and trucks, on the ferry the following provisions: ⑴ similar car first-come, first embarkation ⑵ bus before the goods on board ⑶ every passenger on the four will be allowed to board a goods vehicle, but if waiting for a bus less than four are filled by trucks, in turn, if there is no vehicle waiting for the bus to fill with ⑷ filled automatically after 10 set sail, when the a longer waiting time less than 10 when the vehicle should also be man-made ship-fat control.
⑴同类汽车先到先上船;
⑵客车先于货车上船;
⑶每上4辆客车才允许上一辆货车,但若等待的客车不足4辆则用货车填补,反过来,若没有货车等待则用客车填补;
⑷装满10辆后则自动开船,当等待时间较长时车辆不足10辆也应人为控制发船。
-There is a ferry, and each time the ferry can carry 10 vehicles crossing the river, crossing the river of vehicles is divided into two types of passenger cars and trucks, on the ferry the following provisions: ⑴ similar car first-come, first embarkation ⑵ bus before the goods on board ⑶ every passenger on the four will be allowed to board a goods vehicle, but if waiting for a bus less than four are filled by trucks, in turn, if there is no vehicle waiting for the bus to fill with ⑷ filled automatically after 10 set sail, when the a longer waiting time less than 10 when the vehicle should also be man-made ship-fat control.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
第二题
......\Debug
......\SeqQueue.h
......\渡口管理.cpp
......\渡口管理.dsp
......\渡口管理.dsw
......\渡口管理.ncb
......\渡口管理.opt
......\渡口管理.plg
......\Debug
......\SeqQueue.h
......\渡口管理.cpp
......\渡口管理.dsp
......\渡口管理.dsw
......\渡口管理.ncb
......\渡口管理.opt
......\渡口管理.plg