摘要: 1 #include<cstdio> 2 #include<cstring> 3 const int maxnode = 100005; 4 5 char data[10005][15]; 6 struct Trie 7 { 8 int tree[maxnode][10],sz; 9 int amount[maxnode];10 void init(void)11 {12 sz=0;13 memset(tree[0],0,sizeof(tree[0]));14 memset(amount,0,sizeof(am... 阅读全文
posted @ 2012-12-15 20:06 kiwi_bird 阅读(169) 评论(0) 推荐(0) 编辑