cf/mirror

Binary Matrix

CF
2082A800· newbie1s512 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
7
3 3
010
101
010
3 3
000
000
000
3 3
100
010
001
3 3
101
010
000
3 3
000
010
000
1 4
0101
4 1
0
1
0
1
Output
2
0
3
3
1
2
2
2082A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)