UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#100643#1668. 贪心的武松COdEtreE1000ms1196kbC++11317b2020-02-24 21:57:352020-02-24 21:57:36

answer


详细

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

Test #1:

score: 20
Accepted
time: 0ms
memory: 1196kb

input:

9 74
22 8 31 21 4 6 11 13 7 9

output:

7

result:

ok single line: '7'

Test #2:

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

input:

6 1
2 5 3 2 4 6

output:

0

result:

ok single line: '0'

Test #3:

score: 20
Accepted
time: 0ms
memory: 1196kb

input:

9 10
3 2 6 1 1 1 1 1 1

output:

7

result:

ok single line: '7'

Test #4:

score: 20
Accepted
time: 0ms
memory: 1196kb

input:

9 11
3 2 6 1 1 1 1 1 1

output:

8

result:

ok single line: '8'

Test #5:

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

input:

6 9
1 5 3 2 4 6

output:

3

result:

ok single line: '3'