用C語言解決迷宮問題

#include <stdio.h> #include <stdlib.h> #define ROW 10 #define COL 10 /*迷宮中位置信息*/ typedef struct position { int x; int y; }position; /*在迷宮中的當前位置的信息,也是入棧的基本元素*/ typedef struct SElem { int di; pos
相關文章
相關標籤/搜索