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

一些数据...

Posted by zzyzzy12 at 2011-11-04 15:54:24 on Problem 2778 and last updated at 2011-11-04 16:01:53
0 2000000000

Answer: 9376

2 100
A
T

Answer: 5376

2 4
A
AB

Answer: 81

2 3
AT
GT

Answer: 48

2 3

10 100
AGAGAGT
CGTATTG
AAAATTTCGC
GCGTA
TCGA
AATTGGA
TAGATAGC
AGCGTATT
TTCGA
TACGTATTG

Answer: 35771

注意的地方:
1、构造Fail指针时..记得要把标记病毒顺着Fail指针逆向向下传递..
2、构造矩阵时..这个不好说..可以看下我的代码或者我的博客...
3、矩阵乘法不能用递归写..我是用的拆分2阶乘的方法..如13分解为1+2+8之类

网上有好几个很好的解题报告了...我也不挑战了..就贴下自己犯的错误以及要处以的地方...另外附上AC代码:
http://blog.csdn.net/kk303/article/details/6936046

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