QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#558200#8783. Cherry Pickingucup-team2055#RE 0ms3804kbC++172.1kb2024-09-11 14:50:372024-09-11 14:50:40

詳細信息

Test #1:

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

input:

5 2
1 2 3 4 5
01101

output:

2

result:

ok answer is '2'

Test #2:

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

input:

5 2
3 4 5 2 1
10101

output:

0

result:

ok answer is '0'

Test #3:

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

input:

1 1
1
1

output:

1

result:

ok answer is '1'

Test #4:

score: -100
Runtime Error

input:

1 1
1
0

output:


result: