Description: Parking lots is a parked cars narrow channel n, and only one door and out for cars, cars in the car park by vehicle arrival time of the order, arranged in order from north to south (the door in the southernmost tip of the first arrival the first car parked in the yard of the north), if the car has been parked inside n cars, the car was only waiting on the sidewalk outside, when a car drove away, then came in the first one on the sidewalk you can open into the car when a car parking lot to leave, after he entered the vehicle must exit parking lots to make way for it, until the car out of the gate, then the original sequence into the other vehicle parking lots, each car parked in the yard when it left the parking lot must be paid by the time it costs to stay. Test preparation for the parking requirements for the management of the above simulation program.
To Search:
File list (Check if you may need any files):
设计题实验报告.doc
h.cpp