QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#305596#1268. Diamond Rushucup-team1005WA 1785ms149628kbC++174.2kb2024-01-15 17:51:032024-01-15 17:51:03

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 11100kb

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: 1785ms
memory: 149628kb

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:

282730934
282730934
824567699
282730934
282730934
282730934
282730934
282730934
855950512
282730934
175818560
282730934
282730934
282730934
282730934
282730934
809921577
144845122
282730934
282730934
855950512
282730934
559448696
282730934
855950512
282730934
50989313
282730934
282730934
282730934
1...

result:

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