Sahil Khosla's submission of Count Substrings | CodeChef