迷宫问题 BFS回溯保存路径
摘要:
#include<iostream>#include<queue>#include<stdlib.h>#include<string.h>#include<stdlib.h>using namespace std;struct node{ int i; int j;};typedef struct node pp;pp path[50];struct node p1,p2;int xx[4]={1... 阅读全文
posted @ 2011-05-10 22:22 more think, more gains 阅读(528) 评论(0) 推荐(0) 编辑