[前言] 很久没有纯粹的写写小代码,偶然想起要回炉再来,就去HDU随便选了个最基础的题,也不记得曾经AC过:最后吃惊的发现,思路完全不一样了,代码风格啥的也有不小的变化.希望是成长了一点点吧.后面定期去做做题.保持青春的活力! 1.青年回炉 Problem : 1008 ( Elevator ) Run ID Submit Time Judge Status Pro.ID Exe.Time Exe.Memory Code Len. Language Author 9098607 2013-0…
目录 Abstract Introduction Topic Request Elevator Analysis Reading Requests Coordinating Scheduling and controling Elevator simulation Course P5-P6 Reading (and coordinating) Scheduling and controling Elevator simulation P7 Reading and coordinating Sch…
作业提交时间:10月9日上课前. Design and implement an Elevator Scheduler to aim for both correctness and performance, in managed code. Skills to learn and practice: a) Peer to peer collaboration b) Requirement Analysis c) Design by contract, Int…
Elevator Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 56481 Accepted Submission(s): 30942 Problem Description The highest building in our city has only one elevator. A request list is made…
[题目链接] 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…
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description 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 s…
Elevator Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 51396 Accepted Submission(s): 28377 Problem Description The highest building in our city has only one elevator. A request list is made up w…
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 seco…