HDU 1617 HDU 3630 Phone List(字典树)
摘要:
Phone ListTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 16341Accepted: 5228DescriptionGiven a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let's say the phone catalogue listed these numbers:Emergency 911Alice 97 625 999Bob 阅读全文
posted @ 2012-08-05 11:10 kuangbin 阅读(808) 评论(0) 推荐(0) 编辑