1389.Coincidence

通过数:101提交数:213学校:上海交通大学考研机试真题 题目列表 标签
题目描述 Find a longest common subsequence of two $ strings $. 输入格式 First and second line of each input case contain two $ strings $ of lowercase character $ a \ldots z $. There are no spaces before, inside or after the $ strings $. Lengths of $ strings $ do not exceed $ 100 $. 输出格式 For each case, output $ k $ – the length of a longest common subsequence in one line. 输入样例 abcd cxbydz 输出样例 2
C
补全
点击调试按钮即可调试代码。

点击提交按钮即可提交代码。