Longest common substring problem

welcome to shbcf.ru