论文部分内容阅读
由数字0,1组成的矩阵表示一个迷宫的地图,其中0为可通行的空地,1为不可通过的空间,试编程找出从左下角至右下角的路径(任一位置可通向与它相邻的8个位置)。一个实例如左下图所示。
A matrix consisting of numbers 0 and 1 represents a map of mazes, where 0 is the openable space and 1 is the unallowable space. Try programming to find the path from the bottom left to the bottom right corner Adjacent 8 positions). An example is shown below left.