QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#41682#978. Maximum SubsequenceZhangYiDeWA 4ms4220kbC++14990b2022-07-31 14:41:312022-07-31 14:41:33

詳細信息

Test #1:

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

input:

4
1 -1 1 1

output:

2

result:

ok 1 number(s): "2"

Test #2:

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

input:

6
4 -4 5 -20 6 7

output:

9

result:

ok 1 number(s): "9"

Test #3:

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

input:

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

output:

107512

result:

ok 1 number(s): "107512"

Test #4:

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

input:

15
67994 74589 99849 97649 27926 26555 1194 -98123 4315 58602 67384 53308 59247 -17522 95188

output:

618155

result:

ok 1 number(s): "618155"

Test #5:

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

input:

14
-16144 -8970 -61906 -89752 -82770 52954 9044 85641 -78467 -71326 91206 -72168 -67481 58209

output:

91206

result:

ok 1 number(s): "91206"

Test #6:

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

input:

15
88967 1252 94890 70842 94379 -43780 -23585 52697 93720 33707 -79062 93850 98030 68193 -96410

output:

547690

result:

ok 1 number(s): "547690"

Test #7:

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

input:

16
-95394 27873 82707 -8091 22839 -22353 77819 17786 -20965 -17390 21878 2116 44799 -4573 16174 7845

output:

153070

result:

ok 1 number(s): "153070"

Test #8:

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

input:

16
73674 -66214 -39831 88784 42617 -75096 85579 1073 -55675 82743 -85078 -88198 12378 -14310 20005 33627

output:

88784

result:

ok 1 number(s): "88784"

Test #9:

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

input:

16
-83517 -65495 8945 31495 -30343 94018 14500 -13614 68884 -45706 -18744 -67271 93093 -14098 -3592 -58773

output:

94018

result:

ok 1 number(s): "94018"

Test #10:

score: 0
Accepted
time: 0ms
memory: 3744kb

input:

6
-15003 -28170 -30377 81020 -44906 -21965

output:

81020

result:

ok 1 number(s): "81020"

Test #11:

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

input:

16
-29848 4832 94117 -45241 1204 -99570 -10513 97070 48069 43198 -13260 41687 -57361 33422 -86646 -15135

output:

97070

result:

ok 1 number(s): "97070"

Test #12:

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

input:

15
-40154 98402 72394 -18077 89858 -8243 82205 85533 18703 99891 64337 -40784 82754 62837 78715

output:

728371

result:

ok 1 number(s): "728371"

Test #13:

score: -100
Wrong Answer
time: 4ms
memory: 3992kb

input:

14
66250 -35079 -57181 19720 81648 35074 32470 58509 53389 -57108 -98486 10518 50384 -93648

output:

86770

result:

wrong answer 1st numbers differ - expected: '86765', found: '86770'