Problem 1069 --广度优先搜索模板题(含参考答案)-走迷宫2

1069: 广度优先搜索模板题(含参考答案)-走迷宫2

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

Description

Input

Output

Sample Input

2 3
S.#
..T

Sample Output

3

HINT






Source

[Submit][Status]