Taranpreet Singh's submission of Count Substrings | CodeChef