UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#97334#1668. 贪心的武松Snow12291002ms1212kbC++313b2020-02-20 22:19:382020-02-20 22:19:40

answer


详细

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

Test #1:

score: 20
Accepted
time: 1ms
memory: 1208kb

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: 1196kb

input:

6 1
2 5 3 2 4 6

output:

0

result:

ok single line: '0'

Test #3:

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

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: 1ms
memory: 1208kb

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: 1200kb

input:

6 9
1 5 3 2 4 6

output:

3

result:

ok single line: '3'