QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#305600#1268. Diamond Rushucup-team1005WA 1556ms149420kbC++174.2kb2024-01-15 18:05:472024-01-15 18:05:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 1556ms
memory: 149420kb

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:

645380404
72597563
125162256
674945829
362141056
46633728
833089835
855950512
340464097
953149538
282730934
736432213
513486467
333152891
355535008
797175106
144845122
783679396
408404885
635578224
670481364
176200794
282730934
733794083
302174217
658772773
282730934
26405874
149516187
282730934
362...

result:

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