摘要: HDU 1251 字典树 #include using namespace std; const int kind = 26; struct TreeNode { int count; TreeNode *next[kind]; TreeNode() { count = 1; for(int i = 0; i next[branch]) p->next[bran... 阅读全文
posted @ 2011-02-04 23:20 Cranny 阅读(223) 评论(0) 推荐(0)