资 源 简 介
迷宫(m a z e)是一个矩形区域,它有一个入口和一个出口。在迷宫的内部包含不能穿越的
墙或障碍。在图5 - 8所示的迷宫中,障碍物沿着行和列放置,它们与迷宫的矩形边界平行。迷
宫的入口在左上角,出口在右下角。-Maze (maze) is a rectangular area, which has one entrance and one exit. In the maze of internal contains should not pass through the walls or obstacles. In Figure 5- 8 as shown in the maze, the obstacles placed along the rows and columns, which are parallel to the boundary of rectangular maze. In the upper left corner of the entrance of the maze, export in the lower right corner.