Introduction - If you have any usage issues, please Google them yourself
The parking lot has M parking spaces and a enters the parking lot pavement, sidewalk on most N car park. The car wants to enter the parking spaces, first into the sidewalk waiting. If you have free parking space, then into parking spaces, or in the pavement to wait, until the parking space. If the road is always full of waiting vehicles, after the arrival of the car can only choose to leave, other parking lot. The design of a parking management system, parking operation simulation, and statistical parking revenue.( 1) the use of random number generation within a certain period of time to enter and leave the parking of vehicles ( 2) to store and record the following data items: vehicle arrival and departure time and vehicle number ( 3) vehicles arrived, prompt car parking position number ( for the vehicle allocation number minimum available parking spaces) parking is full, if the corresponding prompt ( 4) the car away, the output of motor vehicles in the parking lot stay time and should