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

求福州现场赛自动机那题的trick

Posted by yzhw at 2010-11-22 20:32:25
把模式串建成自动机,然后分别对待匹配串正序、逆序匹配一次,求有多少模式串被匹配到,这思路有错?WA到死。。问fdu的大牛,说建两个自动机,然后把模式串反过来就过了,超级无语。。求真相

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