Ishan Trivedi 's submission of Count Substrings | CodeChef