摘要: 转自:http://hi.baidu.com/matrush/archive/tag/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84关于字典树请见:字典树[Trie],以下是我最近做的一些关于字典树的题目,来源是HDU的一些经典题。HDU1251-统计难题:最简单的字典树题... 阅读全文
posted @ 2012-09-04 16:44 max_xbw 阅读(594) 评论(0) 推荐(0)
摘要: Power StringsTime Limit: 3000MSMemory Limit: 65536KTotal Submissions: 23735Accepted: 9978DescriptionGiven two strings a and b we define a*b to be thei... 阅读全文
posted @ 2012-09-04 01:56 max_xbw 阅读(332) 评论(0) 推荐(0)