{"trustable":true,"sections":[{"title":"Description","value":{"format":"MD","content":"给出几个由小写字母构成的单词,求它们最长的公共子串的长度。\n"}},{"title":"Input","value":{"format":"MD","content":"文件的第一行是整数 $n$,$1\\le n \\le 5$,表示单词的数量。接下来$n$行每行一个单词,只由小写字母组成,单词的长度至少为$1$,最大为$2000$。"}},{"title":"Output","value":{"format":"MD","content":"仅一行,一个整数,最长公共子串的长度。"}},{"title":"Sample 1","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e3\nabcb\nbca\nacbc\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e2\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}