Trie
文章平均质量分 89
CSLDBLYDX
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ 3630 --Trie
#include #include #include using namespace std; const int PHON_LNG = 10 + 2,MAX_SIZE = 10000 * (10 + 2) + 5,NUMS = 10 + 2; int num[MAX_SIZE][NUMS],val[MAX_SIZE],flag; int size; int idx(char c)原创 2014-10-31 23:04:37 · 392 阅读 · 0 评论 -
poj 2418 Hardwood Species--tire
#include #include #include #include using namespace std; const int MAX_SIZE = 1000 * 22,CHARS = 256+ 2,NAME_LEN = 30 + 2; int spc[MAX_SIZE][CHARS],val[MAX_SIZE]; int count; int size ,f,r; st原创 2014-11-02 21:22:24 · 361 阅读 · 0 评论
分享