Oleksandr Kulkov's submission of Substrings and Repetitions | CodeChef