#B. 【模板】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

20240120字符串专题模板

Not Attended
Status
Done
Rule
IOI
Problem
7
Start at
2024-1-20 8:30
End at
2024-1-23 8:30
Duration
72 hour(s)
Host
Partic.
17