文件名称:carparking
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:12.09kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设停车场是一个可停放M辆汽车的狭长通道,且只有—个大门可供汽车进出。汽车在停车场内按车辆到达时间的先后顺序,依次由北向南排列t大门在最南端,最先到达的第一辆车停放在车场的最北端),若车场内已停满n辆汽车,则后来的汽车只能在门外的便道上等侯,一旦有车开走,则排在便道上的第一辆车即可开入;当停车场内某辆车要离开时,在它之后进入的车辆必须先退出车场为它让路,待该辆车开出大门外,其他车辆再按原次序进入车场,每辆停放在车场的车在它离开停车场时必须按它停留的时间长短交纳费用。试为停车场编制按上述要求进行管理的程序。-parking lots is a parking M vehicles crossing the narrow and only-000 cars out of the door. Within car in the parking lot by the arrival of the vehicles in chronological order, with t turn north to south in the southern door, the first arrived in a car parked in the northern-most yards), and if the yards are full of parked cars n, Later, the car was only at the door waiting on the sidewalk, once a car and drove away, the sidewalk will be placed on the first one into the car can; When the car park within a certain vehicles to leave, after it entered the vehicle must first withdraw from the garage to make way for it, when the cars out our door, other vehicles then entered the garage original order, each parking garage in the car when it left the car park as it must stay the length of time to
(系统自动生成,下载前可以参看下载内容)
下载文件列表
停车场/123.cpp
停车场/123.dsp
停车场/123.dsw
停车场/123.ncb
停车场/123.opt
停车场/123.plg
停车场/Debug
停车场/park.h
停车场/q.h
停车场/st.h
停车场/停车场.doc
停车场
www.dssz.com.txt
停车场/123.dsp
停车场/123.dsw
停车场/123.ncb
停车场/123.opt
停车场/123.plg
停车场/Debug
停车场/park.h
停车场/q.h
停车场/st.h
停车场/停车场.doc
停车场
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.