Oleksandr Kulkov's submission of Substring Probability | CodeChef