1. 首页
  2. 编程语言
  3. C
  4. 迷宫遍历的简单算法程序c语言版

迷宫遍历的简单算法程序c语言版

上传者: 2019-04-15 02:51:17上传 TXT文件 1.83KB 热度 37次
迷宫遍历的简单算法程序c语言版 include const a[10][10]={ {0,0,0,0,0,0,0,0,0,0}, {0,0,1,1,0,0,0,0,1,0}, {0,1,1,0,0,1,1,1,1,0}, {0,0,1,0,1,1,0,1,1,0}, {0,0,0,0,0,1,1,1,1,0}, {0,0,1,0,0,0,0,0,1,0}, {0,1,1,1,1,0,0,0,1,0}, {0,1,1,1,1,0,0,0,1,0}, {0,0,0,0,1,1,1,1,1,0}, {0,0,0,0,0,0,0,0,0,0}, }; const v[4]={0,1,0,-1}; const h[4]={1,0,-1,0}; short f[10][10]={0}; short mark[10][10]={0}; {0,0,0,0,0,0,0,0,0,0}, }; const v[4]={0,1,0,-1}; const h[4]={1,0,-1,0}; short f[10][10]={0}; short mark[10][10]={0};
用户评论