![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
KMP
文章平均质量分 52
以往不谏,来者可追
这个作者很懒,什么都没留下…
展开
-
KMP
KMP 有一道很简单的题引入: Description 给出两串字符串A、B(1 Input abcbcbcbcbabcbcbcbabcbcbcbcda bcb Output 10 Data Constraint 30%:1 100%:1 30: 这道题想得到30分很容易,直接暴力就可以了: 令n=length A,m=leng原创 2016-07-07 19:26:50 · 267 阅读 · 0 评论 -
子串
子串(File IO): input:sub.in output:sub.outTime Limits: 1000 ms Memory Limits: 524288 KB Description Input Output Sample Input4 5 ab abc zabc abcd zabcd 4 you lovinyou aboutlovinyou allaboutlov原创 2016-12-14 20:25:37 · 522 阅读 · 0 评论