主题:QB
求n个字符串(n<20,串长<255)中最长的公共子串.如最长的公共子串不止一个,只输出最先找到的那一个。
如n=3,输入3个字符串:
What a local bus?
Name some local buses.
local bus is a high speed I/O bus close to the processor
输出结果为:
local bus
如n=3,输入3个字符串:
What a local bus?
Name some local buses.
local bus is a high speed I/O bus close to the processor
输出结果为:
local bus