文件名称:Parking-management-system
-
所属分类:
- 标签属性:
- 上传时间:2016-12-10
-
文件大小:126.14kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用栈实现停车场管理 设停车场是一个可停放n辆车的狭长通道,且只有一个大门可供汽车进出。在停车场内,汽车按到达的先后次序,由北向南依次排列(假设大门在最南端)。若停车场内已停满n辆车,则后来的汽车需在门外的便道上等候,当有车开走时,便道上的第一辆车即可开入。当停车场内某辆车要离开时,在它之后进入的车辆必须先退出停车场为它让路,待该辆车开出大门后,其他车辆再按原次序返回车场。每辆车离开停车场时,应按其停留时间的长短交费(在便道上停留的时间不收费)。-Using stack to achieve parking management is a long and narrow channel, and only one door can be used for car access to the car in and out of the car. In the parking lot, the car by the arrival of the order, north to south in order (assuming the gate at the most southern tip). If the parking lot is full of parked cars n car, then the car was required to wait outside on the sidewalk when a car pulled away, the first car on the pavement can be opened into. When the parking lot of a car to leave, after it entered vehicles must exit the parking lot to make way for it, to be out the door after the car, the other vehicle and then return to the original order. When the vehicle left the parking lot, should pay according to the length of their stay (free stay on the sidewalk).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
car.txt
c语言数据结构课程设计停车场完整版111111.doc
c语言数据结构课程设计停车场完整版111111.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.