← 返回 citadel 的题目列表Number of Distinct Palindromic Substrings
类型:online_judge
citadel
Given a string s, how many unique substrings of s are palindromes? A palindrome is a string that reads the same forwards and backwards, such as 121 or tacocat. A substring is a continuous sequence of characters within a string.
Example
Input
mokkori