关于C语言的一道题:有两个字符串,str1 = "abcdefgggg",str2="aaagggg",要求找出其共同的最长子串!注意:是最长的共同子串!函数接口:char *submaxstring(const char *str1,const char *str2)
来源:学生作业帮助网 编辑:作业帮 时间:2024/09/04 03:00:17
![关于C语言的一道题:有两个字符串,str1 =](/uploads/image/z/1582752-48-2.jpg?t=%E5%85%B3%E4%BA%8EC%E8%AF%AD%E8%A8%80%E7%9A%84%E4%B8%80%E9%81%93%E9%A2%98%EF%BC%9A%E6%9C%89%E4%B8%A4%E4%B8%AA%E5%AD%97%E7%AC%A6%E4%B8%B2%2Cstr1+%3D+%22abcdefgggg%22%2Cstr2%3D%22aaagggg%22%2C%E8%A6%81%E6%B1%82%E6%89%BE%E5%87%BA%E5%85%B6%E5%85%B1%E5%90%8C%E7%9A%84%E6%9C%80%E9%95%BF%E5%AD%90%E4%B8%B2%21%E6%B3%A8%E6%84%8F%EF%BC%9A%E6%98%AF%E6%9C%80%E9%95%BF%E7%9A%84%E5%85%B1%E5%90%8C%E5%AD%90%E4%B8%B2%21%E5%87%BD%E6%95%B0%E6%8E%A5%E5%8F%A3%EF%BC%9Achar+%2Asubmaxstring%28const+char+%2Astr1%2Cconst+char+%2Astr2%29)
xT]OP+Xg[/]϶~va@bR!He(+;t5y9<w2X:i7v~/j<t>Xϯ
Lъ
5(⇎r@E!Bx,\=VZ`8xÝp'zcA
A=D5<
vMJy5R.2б=.Z$
j.$Jt
Ü;Y6X0jpvYkഅF^ܪsGz}n-a#5̑?qC-RT*>9]fpGHDW1H܍D\ 3d J1X&D}[bˬ%,+,^c|@B3C4?:L2\K
JWR=kdyF 8IiDXђ=AcRODlp߮o~>~jSxnA!+oyV
^kEB{docp%^8bc8}`ڦԘ(wT@VdpLS^ʴ8\/*Hcqs&5E