Ankur Kayal's submission of Count Substrings | CodeChef