cf Yvensíveis' solutions for Codeforces problems. Solutions 271D - Good Substrings [data structures, strings, *1800] Pedro 1729E - Guess the Cycle Size [interactive, probabilities, *1800] Pedro