《数据结构》 严蔚敏老师 迷宫求解算法(栈) C语言实现

weiyw13820 9 0 PDF 2021-01-15 06:01:07

根据书中的伪代码实现的迷宫求解,但是并不是最优解,适合刚开始学栈的同学参考 #include #include #include #include #define TURE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASINLE -1 #define OVERFLOW -2 #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 #define MAXSIZE 100 //迷宫最大范围 #define ROW 10 //行数 #define COL 10

用户评论
请输入评论内容
评分:
暂无评论