QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#41730#978. Maximum SubsequenceGuanYunchangTL 36ms3672kbC++20944b2022-07-31 20:41:042022-07-31 20:41:07

详细

Test #1:

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

input:

4
1 -1 1 1

output:

2

result:

ok 1 number(s): "2"

Test #2:

score: 0
Accepted
time: 36ms
memory: 3672kb

input:

6
4 -4 5 -20 6 7

output:

9

result:

ok 1 number(s): "9"

Test #3:

score: -100
Time Limit Exceeded

input:

16
74685 37459 -1863 43873 69565 11753 -27428 57636 -80511 13844 -20908 69580 4289 -99806 -75028 30372

output:


result: