2009年9月8日

字典树 模板

摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1//字典树模板2#include3usingnamespacestd;4constintkind=26;5structnode6{7inti,count;8node*next[kind];9node()10{11count=1;12for(i=0;inext[branch])29local->next[branch]->count++;30else31local->n 阅读全文

posted @ 2009-09-08 15:55 Knuth_档案 阅读(491) 评论(0) 推荐(0) 编辑

PKU 2153

摘要: [代码] 阅读全文

posted @ 2009-09-08 15:04 Knuth_档案 阅读(355) 评论(0) 推荐(0) 编辑

导航