![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
字符数组--最大最小表示法
淼润淽涵
这个作者很懒,什么都没留下…
展开
-
HDU 2609 How many (给定很多串,求不重复循环串的个数-----最大最小表示法)
Problem Description Give you n ( n < 10000) necklaces ,the length of necklace will not large than 100,tell me How many kinds of necklaces total have.(if two necklaces can equal by rotating ,we sa...原创 2019-11-13 22:37:47 · 134 阅读 · 0 评论 -
HDU 3336 Count the string(KMP:求一个字符串所有前缀在这个字符串中出现的次数总和)
Problem Description It is well known that AekdyCoin is good at string problems as well as number theory problems. When given a string s, we can write down all the non-empty prefixes of this string. ...原创 2019-11-13 21:45:35 · 497 阅读 · 0 评论