QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#751347#4779. Train delaysgyydp123_LIMWA 241ms11696kbC++202.3kb2024-11-15 18:15:462024-11-15 18:15:47

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3848kb

input:

3
Hamburg Bremen
3
Hamburg Bremen 15 68 10 5
Hamburg Bremen 46 55 50 60
Bremen Frankfurt 14 226 10 120
Amsterdam Rotterdam
1
Amsterdam Utrecht 10 22 5 10
BremenVegesack Utrecht
9
BremenVegesack BremenHbf 15 10 0 1
BremenVegesack BremenHbf 45 10 0 1
BremenVegesack Leer 23 140 10 15
BremenHbf Osnabruc...

output:

68.3000000000
IMPOSSIBLE
305.0532857143

result:

ok  (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 241ms
memory: 11696kb

input:

76
Hamburg Bremen
3
Hamburg Bremen 15 68 10 5
Hamburg Bremen 46 55 50 60
Bremen Frankfurt 14 226 10 120
BremenVegesack Utrecht
9
BremenVegesack BremenHbf 15 10 0 1
BremenVegesack BremenHbf 45 10 0 1
BremenVegesack Leer 23 140 10 15
BremenHbf Osnabruck 44 51 60 70
Osnabruck Amersfoort 55 147 38 40
Am...

output:

68.3000000000
305.0532857143
3.0700000000
4.6000000000
293.2000000000
5.0000000000
23.9000000000
32.0000000000
22.0000000000
144.2000000000
59.0100000000
2.0000000000
IMPOSSIBLE
54.7377100000
1400.2402072597
139.6300000000
202.4750000000
300.1200000000
551.4337032628
8631.0558295658
273.4200000000
2...

result:

wrong answer  (test case 14)