cf/mirror

Chessboard

CF
961C1400· specialist1s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
1
0
 
0
 
1
 
0
Output
1
Sample 2of 2
Input
3
101
010
101
 
101
000
101
 
010
101
011
 
010
101
010
Output
2
961C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)