QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#224766#7523. Partially Free Mealucup-team265WA 820ms62168kbC++207.3kb2023-10-23 14:01:422023-10-23 14:01:43

详细

Test #1:

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

input:

3
2 5
4 3
3 7

output:

7
11
16

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 820ms
memory: 62168kb

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:

3374
7594
16281
26357
38376
50902
67247
84473
104054
127454
154309
181563
213361
245643
286642
330006
373605
420688
469526
520413
573806
628815
690343
752939
821313
891073
961655
1035099
1108617
1183072
1258711
1334517
1411579
1489817
1576398
1664498
1757658
1853453
1953506
2055383
2158699
2269824
2...

result:

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