QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#112230#6410. Classical DP ProblemDonMichaelTL 2ms3432kbC++171.5kb2023-06-10 21:41:252023-06-10 21:41:28

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 3408kb

input:

3
1 2 3

output:

2 6

result:

ok 2 number(s): "2 6"

Test #2:

score: 0
Accepted
time: 1ms
memory: 3432kb

input:

1
1

output:

1 1

result:

ok 2 number(s): "1 1"

Test #3:

score: -100
Time Limit Exceeded

input:

2
1 1

output:


result: