Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
一些数据...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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator