Anton Lunyov's submission of Count Substrings | CodeChef