- Category:
- CSharp
- Tags:
-
[C/C++]
[源码]
- File Size:
- 2kb
- Update:
- 2014-05-14
- Downloads:
- 0 Times
- Uploaded by:
- aaaa
Description: Parking in the stack simulation to simulate the queue sidewalk outside the car, according to the data read from the terminal sequence simulation management. Each set of input data consists of three data items: car " arrive" (' A' represents) or " left" (' D' indicates) information, auto identification (license number), and the time of arrival or departure. Output information for each set of input data after the operation as follows: If the vehicle arrives, the output car in the parking lot or on a sidewalk parking position If the vehicle leave the car in the parking lot output residence time and should be paid costs (time spent on the sidewalk of charge). Stack structure in order to achieve the queue list structure to achieve.
To Search:
File list (Check if you may need any files):
parking lot.cpp