cf/mirror

Hard Process

CF
660C1600· expert1s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
7 1
1 0 0 1 1 0 1
Output
4
1 0 0 1 1 1 1
Sample 2of 2
Input
10 2
1 0 0 1 0 1 0 1 0 1
Output
5
1 0 0 1 1 1 1 1 0 1
660C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)