摘要: 3160 最长公共子串 时间限制: 2 s 空间限制: 128000 KB 题目等级 : 大师 Master 题解 3160 最长公共子串 3160 最长公共子串 时间限制: 2 s 空间限制: 128000 KB 题目等级 : 大师 Master 时间限制: 2 s 空间限制: 128000 KB 阅读全文
posted @ 2017-03-21 22:00 神犇(shenben) 阅读(150) 评论(0) 推荐(0) 编辑
摘要: D. Fence time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output John Doe has a crooked fence, c 阅读全文
posted @ 2017-03-21 21:58 神犇(shenben) 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 2534: Uva10829L-gap字符串 Description 有一种形如uvu形式的字符串,其中u是非空字符串,且V的长度正好为L,那么称这个字符串为L-Gap字符串 给出一个字符串S,以及一个正整数L,问S中有多少个L-Gap子串. 有一种形如uvu形式的字符串,其中u是非空字符串,且V的 阅读全文
posted @ 2017-03-21 17:59 神犇(shenben) 阅读(206) 评论(0) 推荐(0) 编辑
摘要: Maximum repetition substring Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9757 Accepted: 3004 Description The repetition number of a str 阅读全文
posted @ 2017-03-21 15:58 神犇(shenben) 阅读(232) 评论(0) 推荐(0) 编辑
摘要: #103. 【APIO2014】Palindromes 统计 描述 提交 自定义测试 给你一个由小写拉丁字母组成的字符串 ss。我们定义 ss 的一个子串的存在值为这个子串在 ss 中出现的次数乘以这个子串的长度。 对于给你的这个字符串 ss,求所有回文子串中的最大存在值。 输入格式 一行,一个由小 阅读全文
posted @ 2017-03-21 11:08 神犇(shenben) 阅读(334) 评论(0) 推荐(0) 编辑