QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#523280#7905. Ticket to Ridegoodman#WA 5ms3840kbC++202.3kb2024-08-18 01:05:022024-08-18 01:05:02

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
4 3
0 2 3
3 4 2
0 3 1
3 1
1 3 100

output:

2 3 5 6
0 100 100

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 5ms
memory: 3800kb

input:

1000
2 9
0 2 396628655
1 2 268792718
0 2 16843338
1 2 717268783
0 1 693319712
0 1 856168102
1 2 407246545
1 2 527268921
0 1 536134606
6 2
2 5 451394766
0 5 695984050
9 7
0 6 73936815
2 9 505041862
4 5 223718927
5 7 179262261
3 5 449258178
0 5 493128
0 3 994723920
6 6
3 5 433389755
2 4 773727734
4 5 ...

output:

2085622420 4419671380
0 0 451394766 451394766 1147378816 1147378816
223718927 672977105 994723920 1218442847 1668194153 1742130968 1921393229 1921393229 2426435091
127680943 773727734 1334798432 2227456393 2675644351 2675644351
976357580 1594205360 2103791342 2721639122 3241574409 3936588085 4180705...

result:

wrong answer 44th lines differ - expected: '59343364 177016370 998628242 1...883576455 2883576455 2883576455', found: '59343364 177016370 998628242 1...824233091 2824233091 2883576455'