Problem3406--【Div3】模拟算法练习 - abc404b-Grid Rotation

3406: 【Div3】模拟算法练习 - abc404b-Grid Rotation

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description



Sample Input Copy

4
###.
..#.
..#.
..#.
...#
...#
###.
....

Sample Output Copy

2

HINT

Source/Category