英语翻译
英语翻译
The highest building in our city has only one elevator.A request list
is made up with N positive numbers.The numbers denote at which floors
the elevator will stop,in specified order.It costs 6 seconds to move
the elevator up one floor,and 4 seconds to move down one floor.The
elevator will stay for 5 seconds at each stop.
For a given
request list,you are to compute the total time spent to fulfill the
requests on the list.The elevator is on the 0th floor at the beginning
and does not have to return to the ground floor when the requests are
fulfilled.
我们悲催的城市的最高的大楼只有一部电梯,电梯上的按钮列表是一系列的正数的按钮,按钮数字表示电梯将会停留的楼层 ,这是按照程序指令设计好的.电梯上行一层需要6秒时间.下行需要4秒,每层楼停留5秒.根据所给的按钮,你...request list 在这里是什么意思字面意思是需求清单
可是这里结合上下文,是电梯里面的,就是电梯里面的那个一排排的按键的面板