文件名称:tingchechang
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
停车场管理问题(设停车场是一个可停放 n 辆汽车的狭长通道,且只有一个大门可供汽车进出。汽车在停车场内按车辆到达时间的先后顺序,依次由北向南排列(大门在最南端,最先到达的第一辆车停放在车场的最北端)。若停车场内已经停满 n辆车,那么后来的车只能在门外的便道上等候。一旦有车开走,则排在便道上的第一辆车即可开入。当停车场内某辆车要离开时,在它之后进入的车辆必须先退出车场为它让路,待该辆车开出大门外,其他车辆再按原次序进入车场。每辆停放在车场的车在它离开停车场时必须按它停留的时间长短缴纳费用。试为停车场编制按上述要求进行管理的模拟程序。)本程序就是解决上述问题的-Parking management issues (Suppose the parking is a parked cars n the narrow channel, and only one door and out of cars. Cars in the carpark by the arrival time of the vehicle, turn north to south (the door in the most south, first to reach the first car parked in the yard of the northernmost) and if the car parks have been full of parked cars n, then the later cars can only wait on the sidewalk at the door once the car drove away, then row on the sidewalk to open into the first car when the parking lot of a car to leave, after it enters the vehicle must first leave the yard to make way for it, to be out of the car outside the gate, other vehicles then enter the yard of the original order. every car parked in the yard when it leaves the parking lot must be the length of time it stays payment of a fee. trial preparation for the car park is managed according to the above requirements of the simulation program.) the procedure is to solve the above problem
(系统自动生成,下载前可以参看下载内容)
下载文件列表
tingchechang.txt