
搜索
favomj
吃枣药丸
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ 3083(按规定方法遍历)
详解:http://blog.csdn.net/ac_hell/article/details/51097666#include #include #include #include using namespace std;#define maxn 50char mp[maxn][maxn];int n , m;int sx,sy;int ex,ey;int way[4][转载 2017-03-03 16:54:09 · 385 阅读 · 0 评论 -
poj1175 搜索+hash
题意:划分,对称或旋转相同的算同一种分析:bfs划分区间,hash平均距离#include #include #include #include #include #include #include using namespace std;#define maxn 105*105int way[8][2]={1,0,-1,0,0,1,0,-1,1,1,1,-1,-1,1,原创 2017-05-03 14:43:08 · 324 阅读 · 0 评论