QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#94341#5681. Caravan Trip PlansGuanYunchangWA 2ms3448kbC++111.5kb2023-04-05 17:44:082023-04-05 17:44:09

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 3448kb

input:

5 1
2 3 5 7 11
3 7

output:

1 2 3 4 5 6 7 8 9 10 
0 1 3 6 10 15 21 28 36 45 
0 0 1 4 10 20 35 56 84 120 
0 0 0 1 5 15 35 70 126 210 
0 0 0 0 1 6 21 56 126 252 
0 0 0 0 0 1 7 28 84 210 
0 0 0 0 0 0 1 8 36 120 
0 0 0 0 0 0 0 1 9 45 
0 0 0 0 0 0 0 0 1 10 
0 0 0 0 0 0 0 0 0 1 
3 7
35

result:

wrong answer 1st lines differ - expected: '10', found: '1 2 3 4 5 6 7 8 9 10 '