cf/mirror

Bear and Finding Criminals

CF
680B1000· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
6 3
1 1 1 0 1 0
Output
3
Sample 2of 2
Input
5 2
0 0 0 1 0
Output
1
680B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)