UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#34480#97. sequencewangyuji1000ms1188kbC++111.9kb2018-10-29 20:00:282018-10-29 20:00:29

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 0ms
memory: 1160kb

input:

5 2
4 6 8 -3 7

output:

12

result:

ok single line: '12'

Test #2:

score: 10
Accepted
time: 0ms
memory: 1160kb

input:

2 4
6 2

output:

0

result:

ok single line: '0'

Test #3:

score: 10
Accepted
time: 0ms
memory: 1172kb

input:

11 6
807395 227594 972638 777467 -103510 -71395 247016 250862 214823 -410032 357815

output:

86400

result:

ok single line: '86400'

Test #4:

score: 10
Accepted
time: 0ms
memory: 1168kb

input:

15 2
174539 95375 -729121 453926 -324496 83600 -46240 -302272 895631 -37600 -673405 168968 -596572 -...

output:

0

result:

ok single line: '0'

Test #5:

score: 10
Accepted
time: 0ms
memory: 1172kb

input:

15 484
-40771 864890 -169198 -33088 -400552 -632734 978188 684899 -243901 652877 -230890 -141430 -10...

output:

266971431

result:

ok single line: '266971431'

Test #6:

score: 10
Accepted
time: 0ms
memory: 1184kb

input:

30 4
0 -5 1 2 3 4 5 6 7 8 9 10 12 213 123 122 21 2136 4534 2312 12312 34543 2765 56756 462346 46434 ...

output:

681816692

result:

ok single line: '681816692'

Test #7:

score: 10
Accepted
time: 0ms
memory: 1188kb

input:

29 64
-252280 -368452 -303262 -374344 441497 -359356 -210649 -267136 -213643 740639 653444 951005 32...

output:

224458919

result:

ok single line: '224458919'

Test #8:

score: 10
Accepted
time: 0ms
memory: 1176kb

input:

20 5
356048 -549295 650300 69389 -367054 -934147 840023 567719 164588 633239 -149836 -710620 -388705...

output:

10088554

result:

ok single line: '10088554'

Test #9:

score: 10
Accepted
time: 0ms
memory: 1188kb

input:

29 240
866570 591971 -118828 824093 314495 -308128 413843 832694 772121 -961372 915728 742880 -19906...

output:

194500727

result:

ok single line: '194500727'

Test #10:

score: 10
Accepted
time: 0ms
memory: 1188kb

input:

29 4
181481 576347 202304 -378526 -74698 282647 776576 -246487 -240208 329660 509207 -288685 476582 ...

output:

20947336

result:

ok single line: '20947336'