Prasanjit Barua 's submission of Substrings and Repetitions | CodeChef