park

所属分类:单片机开发
开发工具:Visual C++
文件大小:196KB
下载次数:4
上传日期:2014-05-07 15:26:52
上 传 者frankstyle520s
说明:  设停车场是一个可停放n辆汽车的狭长通道,且只有一个大门可供汽车进出.汽车在停车场内按照车辆到达时间的先后顺序,一次由南向北排列(大门在最南端,最先到达的第一辆汽车停放在车场的最北端), 若车场内已停满n辆汽车,则后来的汽车只能在门外的便道上等候,一旦有车开走,则排在便道上的第一辆车即可开入 当停车场内的某辆车要开走时,在它之后进入的车辆必须退出车场为它让路,待该辆车开出大门外,其他车辆再按照原次序进入车场,每辆车停放在车场的车在它离开停车场时必须按照它停留的时间长短交纳费用.
(Suppose the parking is a narrow channel n parked cars, and only one gate for vehicle access. Car in a car park in accordance with the vehicle reaches the order of time, once arranged from south to north (the door at the southernmost tip of the first The first car to reach the park in the yard of the northernmost), if the car has been parked inside n cars, then later the car can only wait on the sidewalk outside, once the car drove away, then came in on the sidewalk The first car can be opened into When a car to drive away in a car park, after it enters the vehicle must exit the yard to make way for it, to be out of the car outside the gate, then follow the original order of the other vehicles entering yard, vehicle parked in the yard of the car leaving the parking lot when it must follow the length of time it stays to pay the costs.)

文件列表:
第二次实验停车场 - 副本\1.c (6478, 2013-04-28)
第二次实验停车场 - 副本\1.dsp (3339, 2013-04-15)
第二次实验停车场 - 副本\1.dsw (510, 2013-04-15)
第二次实验停车场 - 副本\1.ncb (33792, 2013-04-15)
第二次实验停车场 - 副本\1.opt (48640, 2013-04-15)
第二次实验停车场 - 副本\1.plg (631, 2013-04-15)
第二次实验停车场 - 副本\Debug\1.obj (1536, 2013-04-15)
第二次实验停车场 - 副本\Debug\1.pch (184644, 2013-04-15)
第二次实验停车场 - 副本\Debug\carpark.exe (184387, 2013-04-13)
第二次实验停车场 - 副本\Debug\carpark.ilk (187584, 2013-04-13)
第二次实验停车场 - 副本\Debug\carpark.obj (16172, 2013-04-13)
第二次实验停车场 - 副本\Debug\carpark.pch (177428, 2013-04-13)
第二次实验停车场 - 副本\Debug\carpark.pdb (369664, 2013-04-13)
第二次实验停车场 - 副本\Debug\vc60.idb (33792, 2013-04-15)
第二次实验停车场 - 副本\Debug\vc60.pdb (53248, 2013-04-15)
第二次实验停车场 - 副本\Debug (0, 2014-05-07)
第二次实验停车场 - 副本\~$车场实验报告.doc (162, 2014-05-07)
第二次实验停车场 - 副本\停车场实验报告.doc (59392, 2014-05-07)
第二次实验停车场 - 副本 (0, 2014-05-07)

近期下载者

相关文件


收藏者