L2-008. 最长对称子串(Manacher)

L2-008. 最长对称子串 时间限制 100 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard ...

2018-03-30 14:38:37

阅读数 42

评论数 0

Hotaru's problem HDU - 5371 (Manacher+枚举)

Hotaru's problem HDU - 5371 Hotaru Ichijou recently is addicated to math problems. Now she is playing with N-sequence. Let's define N-sequ...

2018-02-06 17:38:44

阅读数 88

评论数 0

最长回文 HDU - 3068 (Manacher算法)

最长回文 HDU - 3068 给出一个只由小写英文字符a,b,c...y,z组成的字符串S,求S中最长回文串的长度. 回文就是正反读都是一样的字符串,如aba, abba等 Input 输入有多组case,不超过120组,每组输入为一行小写英文字符a,b,c...y,...

2018-02-05 15:45:40

阅读数 74

评论数 0

Making Huge Palindromes LightOJ - 1258 (Manacher算法)

Making Huge Palindromes LightOJ - 1258 A string is said to be a palindrome if it remains same when read backwards. So, 'abba', 'madam' both a...

2018-02-04 17:32:23

阅读数 119

评论数 0

Girls' research HDU - 3294 (Manacher算法)

Girls' research HDU - 3294 One day, sailormoon girls are so delighted that they intend to research about palindromic strings. Operation conta...

2018-02-04 10:49:16

阅读数 99

评论数 0

吉哥系列故事——完美队形II HDU - 4513 (Manacher算法)

吉哥系列故事——完美队形II HDU - 4513 吉哥又想出了一个新的完美队形游戏!   假设有n个人按顺序站在他的面前,他们的身高分别是h[1], h[2] ... h[n],吉哥希望从中挑出一些人,让这些人形成一个新的队形,新的队形若满足以下三点要求,则就是新的完美队形: ...

2018-02-04 09:41:02

阅读数 106

评论数 0

Best Reward (Manacher算法)

Best Reward After an uphill battle, General Li won a great victory. Now the head of state decide to reward him with honor and treasures for hi...

2018-02-03 17:17:09

阅读数 127

评论数 0

Palindrome

Palindrome Andy the smart computer science student was attending an algorithms class when the professor asked the students a simple question, ...

2018-02-03 08:27:26

阅读数 120

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭