Originally posted by talzamir
In a shopping mall an escalator joins the first floor and the second floor. If a customer goes up along the escalator, walking at his usual walking speed, and the escalator is set to help him ascend, it takes 20 seconds to get to the second floor. If someone flips the switch so that the escalator makes it harder to climb the steps, it takes the customer a f ...[text shortened]... to get up the escalator if the steps do move, but he feels lazy and doesn't walk up the steps?
30 seconds, and one minute
respectively. The problem is easiest to solve by converting all data to the standard unit of
Unless, of course, in the last case the escalator is moving down. Then he won't ever get anywhere by being lazy.