KMP
文章平均质量分 80
Hophan
这个作者很懒,什么都没留下…
展开
-
HDU 1686:Oulipo
Description The French author Georges Perec (1936�1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group. A quote from the book: Tout avait Pair no原创 2015-08-12 16:40:15 · 441 阅读 · 0 评论 -
HDU 1711 Number Sequence
Description 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 to find a number K which make a[K] = b[1], a原创 2015-08-12 16:31:46 · 344 阅读 · 0 评论 -
POJ 2406 Power String
Description Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think of concatenation as multiplication, exponen原创 2015-08-12 16:47:29 · 495 阅读 · 0 评论 -
HDU 1358 Period
Description For each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whether the prefix is a periodic string. That is,原创 2015-08-12 16:57:08 · 385 阅读 · 0 评论