文件名称:c
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:5.86kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
题目:停车场管理问题
【问题描述】:
设有一个可以停放n辆汽车的狭长停车场,它只有一个大门可以供车辆进出。车辆按到达停车场时间的早晚依次从停车场最里面向大门口处停放(最先到达的第一辆车放在停车场的最里面)。如果停车场已放满n辆车,则后来的车辆只能在停车场大门外的便道上等待,一旦停车场内有车开走,则排在便道上的第一辆车就进入停车场。停车场内如有某辆车要开走,在它之后进入停车场的车都必须先退出停车场为它让路,待其开出停车场后,这些车辆再依原来的次序进场。每辆车在离开停车场时,都应根据它在停车场内停留的时间长短交费。如果停留在便道上的车未进停车场就要离去,允许其离去,不收停车费,并且仍然保持在便道上等待的车辆的次序。编制程序模拟该停车场的管理。
-Title: parking management issues
【Descr iption of the problem:
N has a parking strip of parking cars, it can be only one door for vehicular access. Vehicles to reach the car park by the time sooner or later followed by the most from the car park inside the main door to the big park (the first arrival of the first car on the parking lot of the inside). If the car park has been full of cars n, then the vehicle was only in the parking lot outside the gate waiting for the road, once the car park a car drive away, then came in on the sidewalk on the first car into the garage. If there is a car park vehicles to drive away, after it entered the parking lot of the cars have to be first out of the car park to make way for it, wait out the car park, these vehicles according to the order of the original approach. Vehicle leaving the parking lot when it is in the parking lot should be in accordance with the length of stay fee. If you stay on the sidewalk into the parking lot of the cars did not
【问题描述】:
设有一个可以停放n辆汽车的狭长停车场,它只有一个大门可以供车辆进出。车辆按到达停车场时间的早晚依次从停车场最里面向大门口处停放(最先到达的第一辆车放在停车场的最里面)。如果停车场已放满n辆车,则后来的车辆只能在停车场大门外的便道上等待,一旦停车场内有车开走,则排在便道上的第一辆车就进入停车场。停车场内如有某辆车要开走,在它之后进入停车场的车都必须先退出停车场为它让路,待其开出停车场后,这些车辆再依原来的次序进场。每辆车在离开停车场时,都应根据它在停车场内停留的时间长短交费。如果停留在便道上的车未进停车场就要离去,允许其离去,不收停车费,并且仍然保持在便道上等待的车辆的次序。编制程序模拟该停车场的管理。
-Title: parking management issues
【Descr iption of the problem:
N has a parking strip of parking cars, it can be only one door for vehicular access. Vehicles to reach the car park by the time sooner or later followed by the most from the car park inside the main door to the big park (the first arrival of the first car on the parking lot of the inside). If the car park has been full of cars n, then the vehicle was only in the parking lot outside the gate waiting for the road, once the car park a car drive away, then came in on the sidewalk on the first car into the garage. If there is a car park vehicles to drive away, after it entered the parking lot of the cars have to be first out of the car park to make way for it, wait out the car park, these vehicles according to the order of the original approach. Vehicle leaving the parking lot when it is in the parking lot should be in accordance with the length of stay fee. If you stay on the sidewalk into the parking lot of the cars did not
(系统自动生成,下载前可以参看下载内容)
下载文件列表
停车场管理/Car.h
停车场管理/function.h
停车场管理/LinQueue.h
停车场管理/LinStack.h
停车场管理/Main.cpp
停车场管理/SeqStack.h
停车场管理
停车场管理/function.h
停车场管理/LinQueue.h
停车场管理/LinStack.h
停车场管理/Main.cpp
停车场管理/SeqStack.h
停车场管理
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.