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

Re:雁过留声——用AC自动机的状态dp

Posted by HASK at 2009-08-12 20:08:16 on Problem 3691
In Reply To:雁过留声——用AC自动机的状态dp Posted by:fanhqme at 2009-07-18 22:04:49
提醒一下:
> 1.计算“失败”(或“后缀”)指针的时候,必须用bfs!
> 2.如果一个串的某个字串是危险的,那么他也是危险的。具体看下组数据:
> 2
> ATGCAT
> GC
> ATGCAC

Good

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