QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#464285#7523. Partially Free Mealucup-team3884#WA 797ms20892kbC++202.2kb2024-07-06 00:12:072024-07-06 00:12:07

详细

Test #1:

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

input:

3
2 5
4 3
3 7

output:

7
11
16

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 797ms
memory: 20892kb

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:

350098164
542379891
815516336
1634271747
2281723841
2288848823
2295081837
2436938324
3378947668
3729968912
3888786337
4450922472
4529407199
4668579114
5217871609
5748677760
6741335309
7240106251
7727932570
8316657022
8904518029
9850303712
10096632581
10289352744
10829176078
10986147364
11431637691
1...

result:

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