题目链接 Longest Common Substring Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4077 Accepted Submission(s): 1544 Problem Description Given two strings, you have to tell the length of the Longe…
The Number of Palindromes Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 2465 Accepted Submission(s): 841 Problem Description Now, you are given a string S. We want to know how many distin…