QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#468522#7523. Partially Free MealLittle_PenguinWA 229ms33332kbC++141.9kb2024-07-08 21:18:502024-07-08 21:18:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2 5
4 3
3 7

output:

7
11
16

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 229ms
memory: 33332kb

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
1321968
1326188
1334875
1344951
1356970
1369496
1385841
1403067
1422648
1446048
1472903
1500157
1531955
1564237
1605236
1648600
1692199
1739282
1788120
1839007
1892400
1947409
2008937
2071533
2139907
2209667
2280249
2353693
2427211
2501666
2577305
2653111
2730173
2808411
2894992
2983092
3076...

result:

wrong answer 2nd lines differ - expected: '3208018', found: '1321968'