char * commonstr(char * str1, char * str2)
{
if (str1 == nullptr || str2 == nullptr)
{
return nullptr;
}
char * shortstr, *longstr;
char * substr;
if (strlen
编程查找两个字符串的最大公共子串
最新推荐文章于 2020-11-22 12:27:30 发布
char * commonstr(char * str1, char * str2)
{
if (str1 == nullptr || str2 == nullptr)
{
return nullptr;
}
char * shortstr, *longstr;
char * substr;
if (strlen