Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
枚举变化,排序单词内部字母,直接hash.In Reply To:感觉跟pku2564 Edit Step Ladders 有点像,只不过先对单词中字母和所有单词排个序……(见内) Posted by:bluewind at 2006-09-11 21:25:35 > 感觉跟 pku2564 Edit Step Ladders 有点像,只不过先对单词中字母和所有单词排个序。pku2564要用trie来做,如果这题用trie做,我不知道在trie中要如何存路径。直接土做+优化可以过,不过我用了3842MS,我猜1s内的人应该不是土做的吧。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator