#P2414. 【字符串】最长公共子串

【字符串】最长公共子串

Description

n个字符串的最长公共子串,n<20,字符串长度不超过255

Input Format

第一行一个整数n,接下来n行,每行一个字符串。

Output Format

输出最长公共子串,如果没有公共子串则输出“no”。

3
what is local bus?
Name some local bus.
local bus is high speed I/O bus close to the processor.
local bus

Source

语言基础-字符串