Harshan Sarvaiya's submission of Count Substrings | CodeChef