Special Matrices
489F2100· master1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
3 1 1000011
Output
2
Sample 2of 2
Input
4 4 1005000110101001011001
Output
1
58%
489F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
3 1 1000011
2
4 4 1005000110101001011001
1