Problem 1055 --搜索-草地DFS

1055: 搜索-草地DFS

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 74  Solved: 32
[Submit][Status][Web Board][Creator:]

Description

Input

Output

至少需要多少人

Sample Input

5 6
.#....
..#...
..#..#
...##.
.#....

Sample Output

5

Source

[Submit][Status]