文件名称:paking
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 251kb
- 下载次数:
- 0次
- 提 供 者:
- y**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
设停车场是一个可停放n辆汽车的狭长通道,且只有一个大门可供汽车进出。汽车在停车场内按车辆到达时间的先后顺序,依次由北向南排列(大门在最南端,最先到达的在最北端),若停车场内已经停满n辆车,那么后来的车只能在场外等候,一旦有车开走,则等候在第一位的车即可开入(这是一个队列);当停车场内某辆车需要开出,则在它之后的车辆必须给它让道,当这辆车驶出停车场后,其他车辆按序入栈。每辆车按时间收费。-The parking lot is a narrow channel n cars parking, and only one door available for car and out. Car in the parking lot, according to the order of the vehicle arrival time, in order from north to south arrangement (at the southernmost tip of the door, first to arrive in the North), if the parking lot full of parked n the car, then later the car only in the OTC waiting, once the car drove off, waiting to open into the first car (which is a queue) need out of a car in the parking lot, the vehicles behind it must give way to it, when this car drove out of the car park, the other vehicles in sequence onto the stack. The per vehicle fee on a time
(系统自动生成,下载前可以参看下载内容)
下载文件列表
停车场问题\Cpp2.cpp
..........\Cpp2.dsp
..........\Cpp2.dsw
..........\Cpp2.ncb
..........\Cpp2.opt
..........\Cpp2.plg
..........\Debug\Cpp2.exe
..........\.....\Cpp2.ilk
..........\.....\Cpp2.obj
..........\.....\Cpp2.pch
..........\.....\Cpp2.pdb
..........\.....\vc60.idb
..........\.....\vc60.pdb
..........\Debug
停车场问题
..........\Cpp2.dsp
..........\Cpp2.dsw
..........\Cpp2.ncb
..........\Cpp2.opt
..........\Cpp2.plg
..........\Debug\Cpp2.exe
..........\.....\Cpp2.ilk
..........\.....\Cpp2.obj
..........\.....\Cpp2.pch
..........\.....\Cpp2.pdb
..........\.....\vc60.idb
..........\.....\vc60.pdb
..........\Debug
停车场问题