随笔分类 - 

POJ 2001-Shortest Prefixes(Trie 入门)
摘要:题意:给你一组串,求每个串在组中唯一标志的最短前缀分析:保存树上经过各节点的单词个数,扫描每个串当经过节点单词个数是一(能唯一标志)结束#include #include #include #include #include #include #include #include #include #... 阅读全文

posted @ 2015-08-09 15:37 积跬步、至千里 阅读(223) 评论(0) 推荐(0)

导航