Bombs

2020 VietMX 0

You are given a permutation, $p_1, p_2, \ldots, p_n$. Imagine that some positions of the permutation contain bombs, such that there exists at least one […]