QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#112229#6410. Classical DP ProblemDonMichaelTL 21ms101240kbC++171.5kb2023-06-10 21:27:582023-06-10 21:28:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 21ms
memory: 101240kb

input:

3
1 2 3

output:

2 6

result:

ok 2 number(s): "2 6"

Test #2:

score: 0
Accepted
time: 14ms
memory: 101192kb

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: