利用棧求一條迷宮路徑(不一定是最優路徑)

#include<stdio.h> #include<malloc.h> #define MazeRow 10//迷宮的行數 #define MazeCol 10//迷宮的列數 static char Maze[MazeRow][MazeCol] = {       {'#', '#', '#', '#', '#', '#', '#', '#', '#', '#'},       {'#', '
相關文章
相關標籤/搜索