(精)简单数学题.pptVIP

  • 1
  • 0
  • 约3.52千字
  • 约 38页
  • 2017-01-08 发布于湖北
  • 举报
ACM程序设计 湘潭大学 谢勇 ericxie@ 今天, 你 了吗? 每周一星(1): 第二讲 基础数学题 1008: Elevator 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

文档评论(0)

1亿VIP精品文档

相关文档