文件名称:park
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2014-05-07
- 文件大小:
- 196kb
- 下载次数:
- 0次
- 提 供 者:
- 余**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
设停车场是一个可停放n辆汽车的狭长通道,且只有一个大门可供汽车进出.汽车在停车场内按照车辆到达时间的先后顺序,一次由南向北排列(大门在最南端,最先到达的第一辆汽车停放在车场的最北端), 若车场内已停满n辆汽车,则后来的汽车只能在门外的便道上等候,一旦有车开走,则排在便道上的第一辆车即可开入 当停车场内的某辆车要开走时,在它之后进入的车辆必须退出车场为它让路,待该辆车开出大门外,其他车辆再按照原次序进入车场,每辆车停放在车场的车在它离开停车场时必须按照它停留的时间长短交纳费用.-Suppose the parking is a narrow channel n parked cars, and only one gate for vehicle access. Car in a car park in accordance with the vehicle reaches the order of time, once arranged from south to north (the door at the southernmost tip of the first The first car to reach the park in the yard of the northernmost), if the car has been parked inside n cars, then later the car can only wait on the sidewalk outside, once the car drove away, then came in on the sidewalk The first car can be opened into When a car to drive away in a car park, after it enters the vehicle must exit the yard to make way for it, to be out of the car outside the gate, then follow the original order of the other vehicles entering yard, vehicle parked in the yard of the car leaving the parking lot when it must follow the length of time it stays to pay the costs.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
第二次实验停车场 - 副本\1.c
.......................\1.dsp
.......................\1.dsw
.......................\1.ncb
.......................\1.opt
.......................\1.plg
.......................\Debug\1.obj
.......................\.....\1.pch
.......................\.....\carpark.exe
.......................\.....\carpark.ilk
.......................\.....\carpark.obj
.......................\.....\carpark.pch
.......................\.....\carpark.pdb
.......................\.....\vc60.idb
.......................\.....\vc60.pdb
.......................\Debug
.......................\~$车场实验报告.doc
.......................\停车场实验报告.doc
第二次实验停车场 - 副本