摘要: 题目链接:http://acm.bnu.edu.cn/bnuoj/problem_show.php?pid=4358一道很好的搜索题,要注意DFS函数的写法,特别是return的写法。View Code 1 #include <iostream> 2 #include <cstring> 3 #include <cstdio> 4 using namespace std; 5 char map[105][105]; 6 int a[105][105][4]; 7 int sx,sy,tx,ty,flag,n,m; 8 int px[4][4]= 9 {10 阅读全文
posted @ 2012-04-16 17:26 我们一直在努力 阅读(257) 评论(0) 推荐(0) 编辑