← 返回 meta 的题目列表Maze Solver with AI
类型:online_judge
A maze solving task with four stages of tests, requiring bug fixing in the existing code and adding additional functionality based on the current code. The first task involves fixing the maze drawing output error. From the second task onward, implement a maze solver using Breadth-First Search (BFS). Candidates need to thoroughly review all provided source files to avoid common mistakes. Please write a function to implement this requirement.
Example
Input
3 3
0 1 0
0 0 0
1 1 0