QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#218826#7523. Partially Free Mealucup-team1881WA 474ms97992kbC++202.4kb2023-10-18 19:00:532023-10-18 19:00:55

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3480kb

input:

3
2 5
4 3
3 7

output:

7
11
16

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 474ms
memory: 97992kb

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:

271191757
542379891
815516336
1218478550
1523093492
1827708434
2132323376
-1858028972
-1293727467
-960259610
-626791753
-293323896
40143961
373611818
922904313
1453710464
-1848599283
-1349828341
-862002022
-383571998
26736853
437045704
847354555
1257663406
1667972257
2078281108
-1806377337
-13960684...

result:

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