Seek the Name, Seek the Fame
摘要:"POJ" 题意:给定若干个长度小于等于$400000$的字符串,在每个字符串中求出既是前缀又是后缀的子串长度. 分析:字符串哈希记录前缀值,然后直接枚举长度,分别表示出前缀和后缀的哈希值,并判断是否相等即可. cpp include include include include include 
        阅读全文
        
            posted @ 2019-09-28 15:07
            posted @ 2019-09-28 15:07
            posted @ 2019-09-28 14:52
            posted @ 2019-09-28 14:34
            posted @ 2019-07-26 07:44
            posted @ 2019-01-29 12:51
            posted @ 2019-01-29 10:31