在迷宫中找到离起点最近的出口 T,求步数。 这是一道专题刷题变式。
T
输入迷宫。
输出最少步数。
1≤n,m≤501\le n,m\le 501≤n,m≤50
3 3 S.. .#. ..T
4
使用您的 www.mathcoding.online 通用账户