QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#558065#8783. Cherry Pickingucup-team4645#WA 0ms3828kbC++231.1kb2024-09-11 13:56:542024-09-11 13:56:55

详细

Test #1:

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

input:

5 2
1 2 3 4 5
01101

output:

2

result:

ok answer is '2'

Test #2:

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

input:

5 2
3 4 5 2 1
10101

output:

0

result:

ok answer is '0'

Test #3:

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

input:

1 1
1
1

output:

1

result:

ok answer is '1'

Test #4:

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

input:

1 1
1
0

output:

0

result:

ok answer is '0'

Test #5:

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

input:

5 3
8 3 5 2 7
10101

output:

5

result:

ok answer is '5'

Test #6:

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

input:

10 3
1 10 2 3 9 3 1 6 9 3
1100110001

output:

0

result:

ok answer is '0'

Test #7:

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

input:

10 1
6 7 2 10 8 4 4 9 7 9
0111011000

output:

10

result:

ok answer is '10'

Test #8:

score: -100
Wrong Answer
time: 0ms
memory: 3540kb

input:

10 2
4 5 9 6 9 10 6 9 2 7
1100010100

output:

4

result:

wrong answer expected '9', found '4'