Yet another substring problem Submissions | CodeChef