QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#305592#1268. Diamond Rushucup-team1005WA 1367ms149880kbC++174.2kb2024-01-15 17:39:312024-01-15 17:39:31

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
2 2
2 3
1 4
1 1 2 2
2 2 1 1

output:

276
336

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 1367ms
memory: 149880kb

input:

5
399 200000
1 5 3 2 3 5 5 4 3 5 2 5 1 2 4 1 3 1 1 5 5 5 5 2 2 2 3 3 5 3 5 3 1 2 3 2 3 3 4 3 5 3 1 3 4 5 2 1 4 4 5 4 5 3 3 2 4 2 3 5 1 2 4 4 3 2 3 5 4 4 1 2 3 5 5 2 1 5 5 1 4 1 2 5 3 4 5 3 5 5 5 3 2 3 1 2 1 1 2 5 1 4 1 3 4 1 1 3 5 3 2 2 3 1 3 1 3 1 5 1 4 1 1 2 5 1 4 3 1 3 2 5 4 2 3 5 5 2 5 3 1 5 3 1...

output:

343559734
989832486
343559734
343559734
343559734
850695352
343559734
343559734
343559734
343559734
900220105
850695352
343559734
343559734
343559734
343559734
343559734
30761500
343559734
343559734
343559734
343559734
576113532
343559734
343559734
343559734
311570415
343559734
343559734
343559734
3...

result:

wrong answer 1st lines differ - expected: '941207053', found: '343559734'