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

那个三分的方法中有介绍这种tradeoff...这程序整了我一个晚上加一个上午..faint.

Posted by achilles at 2006-05-24 13:31:16 on Problem 2774
In Reply To:Re:pf您写O(n)的suf tree.不过suf tree的内存就是要比suf array大些吧,印象中最好的内存也要16n/3.不过hqm说有种办法可以用k倍的时间换sqrt(k)的空间....不知道有谁看过类似的论文么? Posted by:Iambitious at 2006-05-10 13:16:44
> 恩,空间肯定会大,尤其用java,所有都是对象,比较花时间和空间,一般suffix tree的空间应该是O(n * |E|),|E|为符号表的大小。

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