【模板】manacher
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
给出一个只由小写英文字符 $\texttt a,\texttt b,\texttt c,\ldots\texttt y,\texttt z$ 组成的字符串 ,求 中最长回文串的长度 。
字符串长度为 。
输入格式
一行小写英文字符 $\texttt a,\texttt b,\texttt c,\cdots,\texttt y,\texttt z$ 组成的字符串 。
输出格式
一个整数表示答案。
aaa
3
提示
。
ch16 - Manacher 与 Z 函数
- Status
- Done
- Problem
- 8
- Open Since
- 2024-1-27 12:00
- Deadline
- 2024-3-3 23:59
- Extension
- 2400 hour(s)