{"problem":{"name":"Longest Palindrome","description":{"content":"You are given a string $S$. Find the maximum length of a contiguous substring of $S$ that is a palindrome.   Note that there is always a contiguous substring of $S$ that is a palindrome.","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc320_b"},"statements":[{"statement_type":"Markdown","content":"You are given a string $S$. Find the maximum length of a contiguous substring of $S$ that is a palindrome.  \nNote that there is always a contiguous substring of $S$ that is a palindrome.\n\n## Constraints\n\n*   $S$ is a string of length between $2$ and $100$, inclusive, consisting of uppercase English letters.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$S$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc320_b","tags":[],"sample_group":[["TOYOTA","5\n\n`TOYOT`, a contiguous substring of `TOYOTA`, is a palindrome of length $5$.  \n`TOYOTA`, the only length-$6$ contiguous substring of `TOYOTA`, is not a palindrome, so print $5$."],["ABCDEFG","1\n\nEvery contiguous substring of length $1$ is a palindrome."],["AAAAAAAAAA","10"]],"created_at":"2026-03-03 11:01:14"}}