QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#56060#2960. Social DistancingGuanYunchangWA 2ms3740kbC++173.3kb2022-10-16 18:32:312022-10-16 18:32:33

详细

Test #1:

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

input:

9 2
2 6

output:

2

result:

ok single line: '2'

Test #2:

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

input:

10 3
1 4 7

output:

1

result:

ok single line: '1'

Test #3:

score: 0
Accepted
time: 2ms
memory: 3592kb

input:

6 2
2 5

output:

0

result:

ok single line: '0'

Test #4:

score: 0
Accepted
time: 2ms
memory: 3740kb

input:

100 5
7 14 47 78 99

output:

43

result:

ok single line: '43'

Test #5:

score: 0
Accepted
time: 2ms
memory: 3516kb

input:

6 1
3

output:

2

result:

ok single line: '2'

Test #6:

score: -100
Wrong Answer
time: 2ms
memory: 3592kb

input:

3 1
1

output:

1

result:

wrong answer 1st lines differ - expected: '0', found: '1'