文件名称:chargement-of-parking-plot
介绍说明--下载内容来自于网络,使用问题请自行百度
问题描述
设停车场是一个可停放n辆汽车的狭长通道,且只有一个大门可供汽车进出。汽车在停车场内按车辆到达时间的先后顺序,依次由北向南排列(大门在最南端,最先到达的第一辆车停放在车场的最北端),若车场内已停满n辆汽车,则后来的汽车只能在门外的便道上等候,一旦有车开走,则排在便道上的第一辆车即可开入;当停车场内某辆车要离开时,在他之后进入的车辆必须先退出车场为它让路,待该辆车开出大门外,其他车辆再按原次序进入车场,每辆停放在车场的车在它离开车场时必须按它停留的时间长短交纳费用。试用停车场编制按上述要求进行管理的模拟程序。
-Suppose the parking is a descr iption of the problem can park cars n the narrow channel and only one door for car access. Cars in the parking lot by vehicle to the arrival time, turn north to south alignment (in the southernmost tip of the door, the first to reach the first car parked in the parking lot of the North), if the car has been parked inside n cars, Later, in the car can only wait on the sidewalk outside, once drove away, then came in the first car on the sidewalk to open into when a car leaving the parking lot, after he entered The vehicle must exit the yard to make way for it to be out of the car outside the gate, other vehicles then entered the yard of the original order, each car parked in the yard at the time it left the yard must be the length of time it stays pay the costs. Try parking prepared in accordance with the above requirements for managing simulation program.
设停车场是一个可停放n辆汽车的狭长通道,且只有一个大门可供汽车进出。汽车在停车场内按车辆到达时间的先后顺序,依次由北向南排列(大门在最南端,最先到达的第一辆车停放在车场的最北端),若车场内已停满n辆汽车,则后来的汽车只能在门外的便道上等候,一旦有车开走,则排在便道上的第一辆车即可开入;当停车场内某辆车要离开时,在他之后进入的车辆必须先退出车场为它让路,待该辆车开出大门外,其他车辆再按原次序进入车场,每辆停放在车场的车在它离开车场时必须按它停留的时间长短交纳费用。试用停车场编制按上述要求进行管理的模拟程序。
-Suppose the parking is a descr iption of the problem can park cars n the narrow channel and only one door for car access. Cars in the parking lot by vehicle to the arrival time, turn north to south alignment (in the southernmost tip of the door, the first to reach the first car parked in the parking lot of the North), if the car has been parked inside n cars, Later, in the car can only wait on the sidewalk outside, once drove away, then came in the first car on the sidewalk to open into when a car leaving the parking lot, after he entered The vehicle must exit the yard to make way for it to be out of the car outside the gate, other vehicles then entered the yard of the original order, each car parked in the yard at the time it left the yard must be the length of time it stays pay the costs. Try parking prepared in accordance with the above requirements for managing simulation program.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
停车场管理系统deshixian.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.