QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#329038#7605. Yet Another Mex ProblemQiulyWA 8ms51444kbC++175.3kb2024-02-16 12:12:552024-02-16 12:12:55

详细

Test #1:

score: 100
Accepted
time: 4ms
memory: 51444kb

input:

5 3
3 4 0 0 3

output:

10

result:

ok 1 number(s): "10"

Test #2:

score: 0
Accepted
time: 8ms
memory: 49236kb

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

input:

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

output:

33

result:

ok 1 number(s): "33"

Test #4:

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

input:

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

output:

160

result:

ok 1 number(s): "160"

Test #5:

score: -100
Wrong Answer
time: 4ms
memory: 49128kb

input:

30 10
14 15 10 1 14 1 8 0 12 8 6 15 1 8 9 12 15 10 11 12 7 10 10 3 3 10 8 14 13 13

output:

298

result:

wrong answer 1st numbers differ - expected: '172', found: '298'