Abhijeet Krishnan's submission of Count Substrings | CodeChef