QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#648678#6410. Classical DP Problemucup-team3475#WA 8ms18420kbC++208.5kb2024-10-17 19:55:582024-10-17 19:56:04

详细

Test #1:

score: 100
Accepted
time: 7ms
memory: 14904kb

input:

3
1 2 3

output:

2 6

result:

ok 2 number(s): "2 6"

Test #2:

score: 0
Accepted
time: 7ms
memory: 14564kb

input:

1
1

output:

1 1

result:

ok 2 number(s): "1 1"

Test #3:

score: 0
Accepted
time: 3ms
memory: 14724kb

input:

2
1 1

output:

1 2

result:

ok 2 number(s): "1 2"

Test #4:

score: 0
Accepted
time: 4ms
memory: 18200kb

input:

2
2 2

output:

2 6

result:

ok 2 number(s): "2 6"

Test #5:

score: 0
Accepted
time: 8ms
memory: 16216kb

input:

3
1 1 1

output:

1 3

result:

ok 2 number(s): "1 3"

Test #6:

score: 0
Accepted
time: 7ms
memory: 18184kb

input:

3
2 2 2

output:

2 9

result:

ok 2 number(s): "2 9"

Test #7:

score: 0
Accepted
time: 3ms
memory: 16140kb

input:

3
3 3 3

output:

3 48

result:

ok 2 number(s): "3 48"

Test #8:

score: 0
Accepted
time: 3ms
memory: 14760kb

input:

5
1 1 3 3 4

output:

3 47

result:

ok 2 number(s): "3 47"

Test #9:

score: 0
Accepted
time: 3ms
memory: 16420kb

input:

10
2 4 5 5 5 5 6 8 8 10

output:

5 864

result:

ok 2 number(s): "5 864"

Test #10:

score: -100
Wrong Answer
time: 7ms
memory: 18420kb

input:

30
6 8 9 9 9 10 13 14 15 15 16 17 17 18 20 22 22 23 23 24 24 25 25 25 27 28 28 29 29 30

output:

17 687868881

result:

wrong answer 2nd numbers differ - expected: '986189864', found: '687868881'