Problem A. Longest Common Substring
时间限制 4000 ms
内存限制 32 MB
Given two strings, you have to tell the length of the Longest Common Substring of them.
For example:
str1 = banana
str2 = cianaic
So the Longest Common Substring is "ana", and the length is 3.
输入数据
输出数据
For each test case, you have to tell the length of the Longest Common Substring of them.
样例输入
样例输出
$ Mathjax font initiator $