cf/mirror

Lunar New Year and Cross Counting

CF
1106A800· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
5
.....
.XXX.
.XXX.
.XXX.
.....
Output
1
Sample 2of 3
Input
2
XX
XX
Output
0
Sample 3of 3
Input
6
......
X.X.X.
.X.X.X
X.X.X.
.X.X.X
......
Output
4
1106A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)