文件名称:sdf
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.87kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设有一个可以停放n辆汽车的狭长停车场,它只有一个大门可以供车辆进出。车辆按到达停车场时间的早晚依次从停车场最里面向大门口处停放(最先到达的第一辆车放在停车场的最里面)。如果停车场已放满n辆车,则后来的车辆只能在停车场大门外的便道上等待,一旦停车场内有车开走,则排在便道上的第一辆车就进入停车场。停车场内如有某辆车要开走,在它之后进入停车场的车都必须先退出停车场为它让路,待其开出停车场后,这些车辆再依原来的次序进场。-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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
sdf.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.