隐式图搜索
文章平均质量分 79
BACKUP_zw
github: github.com/zhewang95
blog: zhewang95.github.io
展开
-
uva10085 The most distant state
基本功不够导致浪费了很多时间啊。。。开始没想清楚,傻乎乎的用dfs结果运行原创 2014-09-16 15:24:59 · 375 阅读 · 0 评论 -
uva321 The New Villa
好久好久没一次ac了。。。。原创 2014-09-17 22:42:54 · 356 阅读 · 0 评论 -
UVA - 10029 Edit Step Ladders
记忆化搜索没什么问题,关键是建图,用到了哈希表,开始估计复杂度过高,但还是a了,有可能数据比较弱#include#include#include#include#include#define MAX 26000#define HASHSIZE 500007using namespace std;char s[MAX][17];int words=0,head[HASHSIZ原创 2015-04-07 19:16:12 · 285 阅读 · 0 评论