Codeforces Round #790 (Div. 4)C. Most Similar Words
Youaregivennnwordsofequallengthmm,consistingoflowercaseLatinalphabetletters.Theii-thwordisdenotedsisi.Inonemoveyoucanchooseanypositioninanysinglewordandchangetheletteratthatpositiontothepreviousornext