IOM 2016, Блиц — Задача 44
Olympiad of Metropolises, Moscow. Blitz Contest, September, 5 · 5 септември 2016 г.
Условие
Array A has 15 positive integers indicating the price for visiting a station on a linear road:
Jerry starts at the first station and he wants to get to the last station in the most inexpensive route. When Jerry is in station he has two options: to move to station or skip it and getting straight to station .
Jerry has to pay for each station he visits. What is the minimal cost for Jerry’s trip including start and finish values? (For example, for array 10 2 9 5 the minimal cost is 17 = 10 + 2 + 5)
Решение
Внимание: Непълно решение
В архива няма официално решение на тази задача.
Оригинал в Архива: blitz.pdf