迷宫搜索问题判断
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
选出正确的选项
{{ multiselect(1) }}
- 在搜索时,对于一个状态,我们要先判断它是否已经是终点,再去尝试搜索它的所有相邻状态。
- 如果当前状态的相邻状态都不合法,我们就认为当前状态无法到达终点,从而结束搜索。
- 只要当前状态上、下、左、右中的一个相邻状态合法,我们就将这个状态作为新的当前状态,继续搜索。
- 在搜索的时候不用判断状态的合法性。
12月第周五昆十中教研
- Status
- Done
- Problem
- 20
- Open Since
- 2025-12-29 0:00
- Deadline
- 2026-1-12 23:59
- Extension
- 24 hour(s)