文件名称:parking
-
所属分类:
- 标签属性:
- 上传时间:2016-03-05
-
文件大小:6.71kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设有一个可以停放n辆汽车的狭长停车场,它只有一个大门可以供车辆进出。车辆按到达停车场时间的早晚依次从停车场最里面向大门口停放(最先到达的第一辆车放在停车场的最里面)。如果停车场已放满n辆车,则后来的车辆只能在停车场大门外的便道上等待,一旦停车场内有车开走,则排在便道上的第一辆国就进入停车场。停车场内如有某辆车要走,在它之后进来的车都必须退出停车场为它让路,待其开出停车场后,这些车辆再依原来的次序进场。每辆车在离开停车场时,都应根据它在停车场内停留的时间长短交费。如果停留在便道上的车未进停车场就要离去,允许其离去,不收停车费,并且其他在便道上等待的车辆的次序不变。编制一程序模拟停车场管理。-It features a park cars n the narrow parking lot, it is only one door can be used for vehicle access. Parking of vehicles arriving in the morning and evening time sequentially park (the first to arrive on the first car parking innermost) the parking lot entrance to the innermost. N If the parking lot is filled with vehicles, the vehicle only later in the parking lot outside the gate of the sidewalk waiting for, once the car park a car and drove off, then came in the first car to enter the country on the parking lot pavement. If the parking lot of a car to go after it came to exit the car park the car must make way for it, let it out of the parking lot after these vehicles by re-entering the original order. When the vehicle left the parking lot, it should be based on its stay in the parking lot of the length of time to pay. If you stay on the sidewalk into the parking lot of the car is not going away, allowing it to leave, we do not charge parking fees, and the other on the sidewalk wa
(系统自动生成,下载前可以参看下载内容)
下载文件列表
parking/parking.c
parking/parking.dsp
parking/parking.dsw
parking/parking.ncb
parking/parking.opt
parking/parking.plg
parking
parking/parking.dsp
parking/parking.dsw
parking/parking.ncb
parking/parking.opt
parking/parking.plg
parking
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.