摘要: [BZOJ3238][Ahoi2013]差异 试题描述 输入 一行,一个字符串S 一行,一个字符串S 输出 一行,一个整数,表示所求值 一行,一个整数,表示所求值 输入示例 输出示例 数据规模及约定 2<=N<=500000,S由小写英文字母组成 题解 我们考虑把两部分分开计算,“∑ len(Ti) 阅读全文
posted @ 2017-03-07 16:19 xjr01 阅读(165) 评论(0) 推荐(0) 编辑
摘要: [POJ3693]Maximum repetition substring 试题描述 The repetition number of a string is defined as the maximum number R such that the string can be partitione 阅读全文
posted @ 2017-03-07 12:00 xjr01 阅读(165) 评论(0) 推荐(0) 编辑
摘要: [HDU3518]Boring counting 试题描述 035 now faced a tough problem,his english teacher gives him a string,which consists with n lower case letter,he must fig 阅读全文
posted @ 2017-03-07 07:48 xjr01 阅读(228) 评论(0) 推荐(0) 编辑