Comments
+3

1178E-Archaeology

In the editorial :

"Bonus: Find a subpalindrome of length at least ceil(|s|/2)."

s=abababcbcbc
|s|=11
bbbbb is a subpalindrome of maximum length and |bbbbb|=5.

In this case there is no pallindrome of length 6.

On jarvisnaharoyOne King Solution, 7 years ago
0

Thank you very much. Sorry for the mistake

On jarvisnaharoyOne King Solution, 7 years ago
0

Auto comment: topic has been updated by jarvisnaharoy (previous revision, new revision, compare).