UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#96318#1668. 贪心的武松UchihaHaruki1001ms1216kbC++365b2020-02-19 21:48:312020-02-19 21:48:33

answer


详细

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

Test #1:

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

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

input:

6 1
2 5 3 2 4 6

output:

0

result:

ok single line: '0'

Test #3:

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

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

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'