shivam gor's submission of Count Substrings | CodeChef