Description: There is a park n vehicles can be long and narrow parking lot, it has only one door can be used for vehicle access. Vehicles to arrive sooner or later turn from the parking lot of time inside the car park entrance at the park (the first to reach the first car on the parking lot the inside). If the parking lot is filled with n vehicles, the vehicle was only parked in the parking lot waiting on the sidewalk outside the gate, once the parking lot where a car drove off, came in the first car on the sidewalk to enter the parking lot . If there is a car parking lot to drive away, into the parking lot in the car after it must first leave the parking lot, to make way for it, let it out of the carpark, the car then follow the original order entry. Vehicle leaving the parking lot, should be based on their length of stay in the parking lot fee. If you stay in the car on the sidewalk into the parking lot will not leave, allowing it to leave, do not charge parking fees, and still maintain the order
To Search:
File list (Check if you may need any files):
car.cpp