![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
搜索之DFS
桐小目
认真生活,认真学习。
展开
-
SHUOJ 1556三角迷宫(DFS)
题目:SHUOJ-1556题目链接:http://202.121.199.212/JudgeOnline/problem.php?id=1556题目:1556: 三角迷宫Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 309 Solved: 226[Submit][Status][Web Board]D原创 2016-02-09 19:11:10 · 1011 阅读 · 0 评论 -
HDU-1010 Tempter of the Bone (dfs+剪枝)
题目:HDU-1010 Tempter of the Bone 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1010Tempter of the BoneTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/O原创 2016-01-31 17:32:11 · 441 阅读 · 0 评论 -
HDU-1016 Prime Ring Problem (DFS)
题目:HDU 1016 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1016 题目:Prime Ring ProblemTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submis原创 2016-02-01 00:43:22 · 369 阅读 · 0 评论 -
HDU 1181 DFS
不粘题目了,直接上代码,注意细节。#include#include#include#includeusing namespace std;const int maxn=10005;struct T{ char a; char b;};T s[maxn];int num=0;bool ans=0;char str[maxn];int vis[maxn];原创 2016-02-03 00:01:26 · 399 阅读 · 0 评论