摘要:
一般有个结论,问(最少)多少秒到达用BFS,问能不能(在恰当时候)到达用DFSHDU 1241http://acm.hdu.edu.cn/showproblem.php?pid=1241View Code #include<stdio.h>#include<string.h>#include<iostream>using namespace std;int n,m;char a[150][150];int sum;int dir[8][2]={{1,0},{-1,0},{0,1},{0,-1},{1,1},{-1,-1},{1,-1},{-1,1}};voi 阅读全文
posted @ 2013-04-19 18:57
Fray
阅读(182)
评论(0)
推荐(0)