QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#190368#6192. Interval Problemucup-team607#WA 36ms18412kbC++17925b2023-09-28 19:21:002023-09-28 19:21:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
2 3
6 7
1 9
5 10
4 8

output:

7
5
4
5
5

result:

ok 5 number(s): "7 5 4 5 5"

Test #2:

score: -100
Wrong Answer
time: 36ms
memory: 18412kb

input:

200000
342504 342505
248314 248317
259328 259334
234817 234821
225726 225732
371424 371425
260562 260565
34752 34753
132098 132100
262130 262134
7254 7255
228491 228492
43488 43492
188408 188410
11691 11692
350334 350335
327350 327352
360684 360685
182051 182052
72131 72135
194666 194668
61303 61313...

output:

399997
399996
399995
399996
399994
399997
399996
582620
399997
399995
989108
399998
934737
611575
788299
399997
399996
399997
617938
563925
502661
569335
399998
399997
399998
399996
399996
1179251
399992
399994
399994
399998
500869
567707
399996
399995
399995
587458
763319
629731
399997
516389
39999...

result:

wrong answer 1st numbers differ - expected: '12', found: '399997'