May 5, 2026 Final

Problem 8 · The strange lift

Worst-case strategy: counting unavoidable rides.

Integer answer, at most 4 digits

In a 20-storey hotel the first 10 floors are green and floors 11 to 20 are red. The hotel has no stairs, and the only way to change floors is a strange lift behaving as follows: whoever enters the lift on a green floor goes exactly to the requested floor. Whoever enters on a red floor goes to a floor of the same colour as the one selected, but not necessarily the selected one; in any case, the lift changes floors. Whatever the floor, the lift always arrives empty when called. A person must visit all the floors, starting from the first and returning to the first. If the lift behaves in the worst possible way, what is the minimum number of rides needed to achieve this?

Copa Cangur · SCM Hard Closed answer