Sayed Atif Ali's submission of Count Substrings | CodeChef