Chessboard
961C1400· specialist1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
10010
Output
1
Sample 2of 2
Input
3101010101101000101010101011010101010
Output
2
58%
961C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
10010
1
3101010101101000101010101011010101010
2