QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#486048#7523. Partially Free MealMaMengQiWA 86ms16300kbC++201.4kb2024-07-21 15:22:552024-07-21 15:22:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2 5
4 3
3 7

output:

7
11
16

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 86ms
memory: 16300kb

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:

-106408018861676
-106407668766307
-106407318670938
-106406499916016
-106405681161094
-106404862406172
-106404043651250
-106403224896328
-106402282891180
-106401340886032
-106400398880884
-106399456875736
-106398514870588
-106397572865440
-106396630860292
-106395688855144
-106394696200738
-1063937035...

result:

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