Given a string , please compute the longest sufix of that is a palindrome, that is, that reads the same backward as forward.
Input consists of several , each one made up of between 1 and lowercase letters.
For every , print the length of the longest sufix of that is a palindrome.
Author: Salvador Roura
Generation: 2026-01-25T10:40:41.868Z
© Jutge.org, 2006–2026.
https://jutge.org