QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#751280#4779. Train delaysgyydp123_LIMWA 227ms16836kbC++202.2kb2024-11-15 17:54:252024-11-15 17:54:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 7ms
memory: 8240kb

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: 227ms
memory: 16836kb

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
11.0000000000
293.2000000000
5.0000000000
23.9000000000
32.0000000000
22.0000000000
144.2000000000
59.0100000000
2.0000000000
IMPOSSIBLE
45.2757142857
1400.2402072597
139.6300000000
202.4750000000
300.1200000000
551.4337032628
8631.0558295658
273.4200000000
...

result:

wrong answer  (test case 4)