在石板地图中从 S 走到 T,求最少步数。障碍石板不能走。 这是本单元总结综合题。
S
T
输入地图。
输出最少步数。
1≤n,m≤501\le n,m\le 501≤n,m≤50
3 3 S.. .#. ..T
4
使用您的 www.mathcoding.online 通用账户