yzw-搜索
苏城yzw
这个作者很懒,什么都没留下…
展开
-
poj 1562
http://poj.org/problem?id=1562 我还是有点buxin #include #include #include #include #include #include using namespace std; const int sizen=1000; bool Map[sizen][sizen]; int m,n; int d[8][2]=原创 2014-10-15 14:47:36 · 390 阅读 · 0 评论 -
hdu 1010 奇偶标记法
http://acm.hdu.edu.cn/showproblem.php?pid=1010 我错了好几次,原创 2014-10-15 08:46:48 · 367 阅读 · 0 评论 -
zoj 2412 搜索
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1412 我的代码taic原创 2014-10-15 18:29:36 · 382 阅读 · 0 评论 -
zoj 1008 dfs 一种巧妙的剪枝
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=8 我做此题错了好几c原创 2014-10-20 10:23:42 · 372 阅读 · 0 评论 -
poj 1979
水,不解释了 #include #include #include #include #include #include using namespace std; const int sizen=150; int cnt; bool Map[sizen][sizen]; int d[4][2]={1,0,-1,0,0,1,0,-1}; void DFS(int x,int y) {原创 2014-10-18 10:12:50 · 409 阅读 · 0 评论 -
zoj 1649 BFS
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=649 我觉得这题写的很好 以下为我的代码 http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=64原创 2014-10-20 19:13:51 · 417 阅读 · 0 评论