随笔分类 -  kmp

摘要:链接:https://www.nowcoder.com/acm/contest/141/E 题目描述 Eddy likes to play with string which is a sequence of characters. One day, Eddy has played with a s 阅读全文
posted @ 2018-07-27 14:58 岩扉 阅读(424) 评论(0) 推荐(0)
摘要:Number Sequence Given two sequences of numbers : a[1], a[2], …… , a[N], and b[1], b[2], …… , b[M] (1 <= M <= 10000, 1 <= N <= 1000000). Your task is t 阅读全文
posted @ 2017-08-16 16:53 岩扉 阅读(179) 评论(0) 推荐(0)