随笔分类 - 字符串===================
摘要:后缀自动机+后缀树上dp
阅读全文
摘要:trie树+奇妙的数据结构想法
阅读全文
摘要:回文树/SAM+manacher
阅读全文
摘要:trie树+树上贪心
阅读全文
摘要:广义后缀自动机
阅读全文
摘要:Problem Given a set of pattern strings, and a text, you have to find, if any of the pattern is a substring of the text. If any of the pattern string c
阅读全文
摘要:Problem strcmp() is a library function in C/C++ which compares two strings. It takes two strings as input parameter and decides which one is lexicogra
阅读全文
摘要:Neal is very curious about combinatorial problems, and now here comes a problem about words. Knowing that Ray has a photographic memory and this may n
阅读全文
摘要:Description 火星人最近研究了一种操作:求一个字串两个后缀的公共前缀。比方说,有这样一个字符串:madamimadam,我们将这个字符串的各个字符予以标号:序号: 1 2 3 4 5 6 7 8 9 10 11 字符 m a d a m i m a d a m 现在,火星人定义了一个函数L
阅读全文

浙公网安备 33010602011771号