QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#486055#7523. Partially Free MealMaMengQiWA 94ms16236kbC++201.4kb2024-07-21 15:29:432024-07-21 15:29:43

详细

Test #1:

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

input:

3
2 5
4 3
3 7

output:

7
11
16

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 94ms
memory: 16236kb

input:

200000
466436993 804989151
660995237 756645598
432103296 703610564
6889895 53276988
873617076 822481192
532911431 126844295
623111499 456772252
937464699 762157133
708503076 786039753
78556972 5436013
582960979 398984169
786333369 325119902
930705057 615928139
924915828 506145001
164984329 208212435...

output:

470085802
471398061
473081367
474964370
477228361
479494566
480192034
483409444
486915177
488834994
492764908
494566234
498713481
500467130
505037794
509675571
510308561
515163859
515914541
519948176
523377126
528667811
534395396
535469767
538109800
544095672
550327522
551173173
552557900
558018557
...

result:

wrong answer 1st lines differ - expected: '1318594', found: '470085802'