QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#784320#9352. Highway Busesrotcar08WA 4ms35872kbC++173.6kb2024-11-26 14:33:202024-11-26 14:33:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 34616kb

input:

6 6 2
1 50 -40
1 2 100
2 1 100
2 4 100
3 1 100
1 1 100
1 2
2 3
3 4
4 2
2 5
6 1

output:

0
10
52
52
52
10

result:

ok 6 lines

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 35872kb

input:

500 540 1000000
1 831790353 70
3 624594642 -127
2 189318946 -92
1 858646508 320
4 76999645 671
4 780012318 880
2 51254764 -12
2 420182468 -333
3 314764053 -36
1 560114854 -419
2 484412868 -31
3 466851594 6
4 535326027 732
4 430602789 578
1 605236859 43
4 633715178 896
3 110060408 -9
4 878946915 -654...

output:

0
1818620175
1542544819
1730245972
1939755364
1539102708
1570810517
1914668143
1539102708
1818620175
1539102708
1620185564
1679873095
1539102708
1539102708
1539102708
1620185564
1542544819
1739574136
1542544819
1542544819
1818620175
1539102708
1739574136
1818620175
1748568365
1818620175
1739574136
1...

result:

wrong answer 2nd lines differ - expected: '1277292628', found: '1818620175'