摘要: 输入两个字符串,求最长公共字串长度,该字串的每个字符必须在这两个字符串都出现过,并且后出现的字符不能先于先出现的字符。 输入: a b c d e f g h a c j i f a b h h 输出: 4 #include <stdio.h> #include <iostream> #includ 阅读全文
posted @ 2020-02-25 15:15 Maxwell· 阅读(156) 评论(0) 推荐(0)