Pillars

2020 VietMX 0

Marmot found a row with n pillars. The i-th pillar has the height of h i meters. Starting from one pillar i 1, Marmot wants to jump on the pillars i 2, …, i k. (1 ≤ i 1 < i 2 < … < i k ≤ n). From […]