
C++
nonononono.
现在重要的事:眼朝前方,脚踏当下!
展开
-
HDU 1175搜索
搜索 dfs+剪枝 题目链接。http://acm.hdu.edu.cn/showproblem.php?pid=1175 HDU 1175 搜索 + 剪枝 //还有4题没有AC,怎么办,今天能写的完吗!然后不是说还要,密码学的后面几章看完,把思考题给解决一下。 //bfs+剪枝:除去转向超过两次的路径,还有关于返回,重制未访问就可以了吗? //还有突然想起来,苹果好像是有在教怎么使用GPU的, ...原创 2019-04-07 22:17:40 · 178 阅读 · 0 评论 -
搜索 dfs POJ 2386
http://poj.org/problem?id=2386 POJ 2386 dfs #include<cstdio> #include<cstring> #include<string> #include<iostream> #include<stack> #include<queue> using namespace s...原创 2019-04-07 22:19:50 · 231 阅读 · 0 评论 -
滑动解锁 dfs
http://hihocoder.com/problemset/problem/1054 dfs #include<cstring> #include<cstdio> using namespace std; int test[10][10], pos[10], N, M, cnt, es[10][10]; bool vis[10]; void init(){ ...原创 2019-04-07 22:24:08 · 375 阅读 · 0 评论 -
POJ2243 题目理解
题目链接:http://poj.org/problem?id=2243 POJ2243 dfs or bfs #include<cstdio> #include<cstring> #include<string> #include<iostream> #include<stack> #include<queue> using ...原创 2019-04-07 22:27:04 · 348 阅读 · 0 评论