#A. 【模板】manacher

    Type: RemoteJudge 1000ms 512MiB

【模板】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$ 组成的字符串 SS ,求 SS 中最长回文串的长度 。

字符串长度为 nn

输入格式

一行小写英文字符 $\texttt a,\texttt b,\texttt c,\cdots,\texttt y,\texttt z$ 组成的字符串 SS

输出格式

一个整数表示答案。

aaa
3

提示

1n1.1×1071\le n\le 1.1\times 10^7

ch16 - Manacher 与 Z 函数

Not Claimed
Status
Done
Problem
8
Open Since
2024-1-27 12:00
Deadline
2024-3-3 23:59
Extension
2400 hour(s)