QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#409135#7523. Partially Free MealhhoangcpWA 211ms10676kbC++203.0kb2024-05-11 19:30:472024-05-11 19:30:48

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2 5
4 3
3 7

output:

7
11
16

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 211ms
memory: 10676kb

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
7340845
9223347
11441561
12404135
13476823
14861438
16457170
17768627
19451933
20693779
22005236
23389851
25073157
26760338
28509336
30294967
32093959
34080569
35920328
37754030
39588384
41470886
43388283
45309771
47725384
49030181
50691825
52079411
53804978
55941069
57295791...

result:

wrong answer 6th lines differ - expected: '11149865', found: '11441561'