Rahul Bhardwaj's submission of Count Substrings | CodeChef