![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
kmp
Dejavu1z
做题,总结,不断的学习
展开
-
HDU 1867(kmp应用)
题意描述 Generally speaking, there are a lot of problems about strings processing. Now you encounter another such problem. If you get two strings, such as “asdf” and “sdfg”, the result of the addition between them is “asdfg”, for “sdf” is the tail substring of原创 2020-07-16 16:46:12 · 152 阅读 · 0 评论 -
power Strings(next数组求循环节长度)
题意描述 Given two strings a and b we define ab to be their concatenation. For example, if a = “abc” and b = “def” then ab = “abcdef”. If we think of concatenation as multiplication, exponentiation by a non-negative integer is defined in the normal way: a^0 =原创 2020-07-15 15:46:38 · 193 阅读 · 0 评论