QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#196802#7523. Partially Free Mealucup-team1837WA 1458ms27804kbC++143.2kb2023-10-01 23:15:582023-10-01 23:15:58

詳細信息

Test #1:

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

input:

3
2 5
4 3
3 7

output:

7
11
16

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 1458ms
memory: 27804kb

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:

1318594
3208018
5570526
7834517
9223347
11149865
12898863
14697855
14788280
16172895
17856201
19336633
21019939
22707120
24456118
26255110
28137612
30055009
32319000
34583473
37222147
40254775
43472185
39588384
41470886
43388283
45309771
47573762
49838235
52476909
55158583
58072674
61026526
64003437...

result:

wrong answer 4th lines differ - expected: '7340845', found: '7834517'