3373. L2-A Horse-Drawn Cart

【问题描述】

对给定的字符串,本题要求你输出最长对称子串的长度。

例如,给定What can i say ? yas i nac tahW I have no clue at all.

其最长对称子串为What can i say ? yas i nac tahW,于是你应该输出31。

【输入形式】

输入在一行中给出长度不超过1000的非空字符串。

【输出形式】

在一行中输出最长对称子串的长度。

【样例输入】

What can i say ? yas i nac tahW I have no clue at all.

【样例输出】

31

【数据范围补充】

保证输入的字符串中不含有字符#与字符@

难度等级: 0
总通过次数: 38
总提交次数: 147