QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#94347#5681. Caravan Trip PlansZhangYiDeWA 2ms3328kbC++111.5kb2023-04-05 17:50:402023-04-05 17:50:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5 1
2 3 5 7 11
3 7

output:

10

result:

ok single line: '10'

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 3284kb

input:

8 3
2 3 5 7 11 13 17 19
3 7
5 15
8 24

output:

10
1001
245157

result:

wrong answer 2nd lines differ - expected: '126', found: '1001'