文件名称:DataStructure2
介绍说明--下载内容均来自于网络,请自行研究使用
设停车场是一个可停放n辆汽车的下狭长通道,且只有一个大门可供汽车进出,汽车在停车场内按车辆到达的时间先后排序,依次由北向南排列(大门在最南端,最先到达的第一辆车停放在车厂的最北端),若车场内已停满n辆汽车,则后来的汽车只能在门外的便道上等候,一旦有车开走,则排在便道上的第一辆车即可开入;当停车场内某辆车要离开时,在它之后进入的车辆必须先退出车场为它让路,待该车开出大门外,其他车辆再按照原次序进入车场,每辆停放在车场的车在它离开停车场时必须按它停留的时间长短交纳费用。试为停车场编制上述要求的管理模拟程序。(It simulates the parking lot by the stack, simulates the road outside the yard by the queue and simulates it according to the data sequence input from the terminal. Each set of input data includes three data items: the car "reach" or "leave" information, the license number of the car, and the arrival or departure time. The output information on the operation of each set of input data after: if the vehicle arrives, enter the parking position of motor vehicles in the parking lot or sidewalk; if the vehicle arrives, the output of motor vehicles in the parking lot or parking spaces on the sidewalk, if the vehicle left, then the output in the car in the parking lot to stay time and should be pay the costs (no fee stay on the sidewalk). The stack is implemented in a sequential structure, and the queue is implemented by a linked list structure.)
相关搜索: 堆栈
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
DataStructure2 | ||
DataStructure2\.vs | ||
DataStructure2\.vs\DataStructure2 | ||
DataStructure2\.vs\DataStructure2\v15 | ||
DataStructure2\.vs\DataStructure2\v15\.suo | 26624 | 2017-12-18 |
DataStructure2\.vs\DataStructure2\v15\Browse.VC.db | 5578752 | 2017-12-18 |
DataStructure2\.vs\DataStructure2\v15\ipch | ||
DataStructure2\.vs\DataStructure2\v15\ipch\AutoPCH | ||
DataStructure2\.vs\DataStructure2\v15\ipch\AutoPCH\b0495cb0e9993983 | ||
DataStructure2\.vs\DataStructure2\v15\ipch\AutoPCH\b0495cb0e9993983\PARK.ipch | 25690112 | 2017-12-18 |
DataStructure2\.vs\DataStructure2\v15\ipch\AutoPCH\d96156da3260b0ca | ||
DataStructure2\.vs\DataStructure2\v15\ipch\AutoPCH\d96156da3260b0ca\PARK1.ipch | 25886720 | 2017-12-18 |
DataStructure2\.vs\slnx.sqlite | 73728 | 2017-12-01 |
DataStructure2\DataStructure2 | ||
DataStructure2\DataStructure2\DataStructure2.vcxproj | 7217 | 2017-12-18 |
DataStructure2\DataStructure2\DataStructure2.vcxproj.filters | 945 | 2017-12-18 |
DataStructure2\DataStructure2\Debug | ||
DataStructure2\DataStructure2\Debug\DataStructure2.log | 464 | 2017-12-18 |
DataStructure2\DataStructure2\Debug\DataStructure2.tlog | ||
DataStructure2\DataStructure2\Debug\DataStructure2.tlog\CL.command.1.tlog | 1698 | 2017-12-18 |
DataStructure2\DataStructure2\Debug\DataStructure2.tlog\CL.read.1.tlog | 13376 | 2017-12-18 |
DataStructure2\DataStructure2\Debug\DataStructure2.tlog\CL.write.1.tlog | 780 | 2017-12-18 |
DataStructure2\DataStructure2\Debug\DataStructure2.tlog\DataStructure2.lastbuildstate | 242 | 2017-12-18 |
DataStructure2\DataStructure2\Debug\DataStructure2.tlog\link.command.1.tlog | 1468 | 2017-12-18 |
DataStructure2\DataStructure2\Debug\DataStructure2.tlog\link.read.1.tlog | 3526 | 2017-12-18 |
DataStructure2\DataStructure2\Debug\DataStructure2.tlog\link.write.1.tlog | 758 | 2017-12-18 |
DataStructure2\DataStructure2\Debug\park.obj | 85105 | 2017-12-18 |
DataStructure2\DataStructure2\Debug\park1.obj | 85249 | 2017-12-18 |
DataStructure2\DataStructure2\Debug\vc141.idb | 543744 | 2017-12-18 |
DataStructure2\DataStructure2\Debug\vc141.pdb | 405504 | 2017-12-18 |
DataStructure2\DataStructure2\park.cpp | 8555 | 2017-12-18 |
DataStructure2\DataStructure2.sln | 1456 | 2017-12-01 |
DataStructure2\Debug | ||
DataStructure2\Debug\DataStructure2.exe | 56832 | 2017-12-18 |
DataStructure2\Debug\DataStructure2.ilk | 390416 | 2017-12-18 |
DataStructure2\Debug\DataStructure2.pdb | 487424 | 2017-12-18 |