摘要: "POJ 3984 链接" bfs最短路的迷宫问题,加上保存路径 const int ax[4] = {1, 1, 0, 0}; const int ay[4] = {0, 0, 1, 1}; const int dir[4] = {0, 1, 2, 3}; 这三个分别代表x方向,y方向,路径移动方 阅读全文
posted @ 2020-01-11 12:51 lifehappy 阅读(172) 评论(0) 推荐(0)