随笔分类 -  KMP

摘要:As is known to all, in many cases, a word has two meanings. Such as “hehe”, which not only means “hehe”, but also means “excuse me”. Today, ?? is chat 阅读全文
posted @ 2017-08-08 18:14 西北会法语 阅读(146) 评论(0) 推荐(0)
摘要:Asterix, Obelix and their temporary buddies Suffix and Prefix has finally found the Harmony temple. However, its doors were firmly locked and even Obe 阅读全文
posted @ 2017-08-08 18:13 西北会法语 阅读(147) 评论(0) 推荐(0)
摘要: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 pr 阅读全文
posted @ 2017-08-08 18:11 西北会法语 阅读(121) 评论(0) 推荐(0)
摘要: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 fr 阅读全文
posted @ 2017-08-08 18:10 西北会法语 阅读(196) 评论(0) 推荐(0)
摘要: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 concate 阅读全文
posted @ 2017-08-08 18:09 西北会法语 阅读(113) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2017-08-08 18:08 西北会法语 阅读(113) 评论(0) 推荐(0)