Beautiful Matrix
263A800· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
0 0 0 0 00 0 0 0 10 0 0 0 00 0 0 0 00 0 0 0 0
Output
3
Sample 2of 2
Input
0 0 0 0 00 0 0 0 00 1 0 0 00 0 0 0 00 0 0 0 0
Output
1
58%
263A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)