QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#784540#9352. Highway Busesrotcar08WA 3ms96348kbC++173.8kb2024-11-26 15:17:462024-11-26 15:17:46

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 38448kb

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: 3ms
memory: 96348kb

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
1583406408
1308805765
1484858081
1583406408
1379509281
1311271752
1583406408
1379509281
1583406408
1277107920
1309190825
1418621641
1277107920
1277107920
1277107920
1477535677
1308805765
1499875017
1281539053
1308805765
1583406408
1379509281
1841411333
1516736226
1484858081
1574428560
1269211630
1...

result:

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