Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

trie

Posted by frkstyc at 2005-10-16 23:43:39 on Problem 2564
In Reply To:Re:不要O(nlgn),O(25000 * 16 * 26)的 Posted by:cuiaoxiang at 2005-10-16 23:39:17
> 你说的是不是就是 hash 表啊?
> 刚才稍微优化了一下,居然就过了,3秒好紧啊。
> 但是我的 hash 表怎么都要1400ms多(我用了vector,可能慢一点), 看到前面的帖子说可以O(nlogn)
> 不知道1秒内的是不是用这个方法?

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator