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:贴个数据

Posted by just_one at 2013-09-27 17:54:31 on Problem 1204
In Reply To:贴个数据 Posted by:ningbohezhijun at 2012-03-23 17:21:45
> 3 6 3
> FFFFFF
> FABCDF
> FFFFFF
> ABCD
> BCDF
> CD
> 
> 应该合法吧,ans是
> 1 1 C
> 1 2 C
> 1 3 C
> 
> 我看的AC程序蛮多过不了。
主要CD是BCDF的子串,在匹配的时候每次多检查了下fail节点 不知道有没有更好的方式

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