2007年10月20日

一个用来练dfs的简单迷宫问题

摘要: #include <stdio.h>#include <string.h>using namespace std;int i,t,n,m,k;int x1,x2,y1,y2;char p[110][110];short turn[110][110];bool dfs(int x,int y,int t,int d){ int tx,ty,tt,td,i,j; bool fl... 阅读全文

posted @ 2007-10-20 15:01 xmx 阅读(804) 评论(1) 推荐(0)

导航