- 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
您可能关注的文档
最近下载
- 煤气作业考试题库.docx VIP
- BS EN 12516-2-2014 工业用阀门 外壳设计强度 第2部分:钢制阀壳的计算方法(中文版).pdf
- 2023高考新课标一卷英语真题及答案.docx VIP
- 山东财经大学 2026 年综合评价招生《笔试+面试》模拟试题.docx VIP
- 公路工程质量检验评定标准应用解读(每日一练).pdf VIP
- 云南省法官检察官遴选试题及答案.docx VIP
- 湖南省长沙市雅礼中学2026届中考物理最后冲刺模拟试卷含解析.doc VIP
- 广东中考英语作文模拟题及答案.pdf VIP
- 国开领导学基础形考任务1-4试题及答案.docx
- 《XRD基本原理》课件 .ppt VIP
原创力文档

文档评论(0)