QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#545270#7523. Partially Free Mealrotcar08WA 963ms89588kbC++201.7kb2024-09-03 07:20:232024-09-03 07:20:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2 5
4 3
3 7

output:

7
11
16

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 963ms
memory: 89588kb

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
112678091
148247239
193980776
782702775
1280440066
1842574865
2193593146
2827564220
2834685934
3107820101
3300100999
3335658554
4266239832
4327038661
4467623784
4634199009
5132969615
5343742196
6284399370
6824686635
7174782004
7282595475
7843534769
8785539917
9216445464
9358294222
1022291946...

result:

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