QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#308098#7605. Yet Another Mex ProblemmorikoTL 4ms86080kbC++173.4kb2024-01-19 15:48:502024-01-19 15:48:51

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 85468kb

input:

5 3
3 4 0 0 3

output:

10

result:

ok 1 number(s): "10"

Test #2:

score: 0
Accepted
time: 0ms
memory: 85440kb

input:

8 4
0 1 2 0 3 1 4 1

output:

26

result:

ok 1 number(s): "26"

Test #3:

score: 0
Accepted
time: 4ms
memory: 86080kb

input:

10 5
0 2 0 1 2 1 0 2 2 1

output:

33

result:

ok 1 number(s): "33"

Test #4:

score: -100
Time Limit Exceeded

input:

20 10
3 1 3 2 3 3 0 1 3 0 2 3 3 3 3 1 3 0 0 3

output:


result: