文件名称:park
介绍说明--下载内容均来自于网络,请自行研究使用
(五)测试数据:n=0
n=-1
n=2
a 1 2
a 2 3
a 3 4
d 3 5
n=2
a 1 5
a 2 10
d 1 15
a 3 20
a 4 25
a 5 30
d 2 35
d 4 40
e 0 0
(六)测试结果:error
error
没付钱,没停就走了
第一辆车付50元
第二辆车付125元
第三辆车没出来
第四辆车付25元
第五辆车没进入-(E) the test data: n = 0n =- 1n = 2a 1 2a 2 3a 3 4d 3 5 n = 2a 1 5a 2 10d 1 15a 3 20a 4 25a 5 30d 2 35d 4 40e 0 0 (f) test results: error error did not pay, did not stop and left the first car to pay 50 yuan to pay the second vehicles 125 vehicles in the third did not come out the first four vehicles to pay 25 yuan Fifth vehicles did not enter the
n=-1
n=2
a 1 2
a 2 3
a 3 4
d 3 5
n=2
a 1 5
a 2 10
d 1 15
a 3 20
a 4 25
a 5 30
d 2 35
d 4 40
e 0 0
(六)测试结果:error
error
没付钱,没停就走了
第一辆车付50元
第二辆车付125元
第三辆车没出来
第四辆车付25元
第五辆车没进入-(E) the test data: n = 0n =- 1n = 2a 1 2a 2 3a 3 4d 3 5 n = 2a 1 5a 2 10d 1 15a 3 20a 4 25a 5 30d 2 35d 4 40e 0 0 (f) test results: error error did not pay, did not stop and left the first car to pay 50 yuan to pay the second vehicles 125 vehicles in the third did not come out the first four vehicles to pay 25 yuan Fifth vehicles did not enter the
(系统自动生成,下载前可以参看下载内容)
下载文件列表
park.cpp