output.txt
来自「这是一个我的课后习题,要求编译一个酒店管理程序.做的不好~多多执教」· 文本 代码 · 共 28 行
TXT
28 行
Please input the time you wish to run(between 1 to 10):5
Please input the total rooms number in your hotel(between 1 to 100): 40
Reservation 0 move to room 0
Reservation 1 move to room 1
Reservation 1 move to room 2
Reservation 2 move to room 3
Reservation 3 move to room 4
Reservation 4 move to room 5
Reservation 4 move to room 6
Reservation 4 move to room 7
Reservation 4 move to room 8
Reservation 5 move to room 9
Reservation 5 move to room 10
Reservation 5 move to room 11
Reservation 5 move to room 12
The total number of rooms in this hotel is:40
Before we start simulating, there are about 10 rooms have been filled.
Reservation 6 move to room 0
Reservation 6 move to room 1
Reservation 6 move to room 2
Reservation 6 move to room 3
Reservation 6 move to room 4
Reservation 6 has been cancelled.
the percentage of cancellation is 0
the average_length of stay is 2
Press any key to continue
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?