Shreyas Jain's submission of Count Substrings | CodeChef