摘要: http://acm.hdu.edu.cn/showproblem.php?pid=3518trieView Code 1 #include<cstdio> 2 #include<cstring> 3 #include<cstdlib> 4 #include<iostream> 5 #include<algorithm> 6 using namespace std; 7 const int MAX=1001; 8 char s[MAX]; 9 int sz,len;10 int trie[MAX*MAX][26];11 int min 阅读全文
posted @ 2012-05-16 16:48 Rabbit_hair 阅读(171) 评论(0) 推荐(0) 编辑