C++网络编程 卷1 运用ACE和模式消除复杂性
C++网络编程 卷1 运用ACE和模式消除复杂性. ACE经典著作之卷一。
Python学习手册(第三版) - part4
Python学习手册,最好的Python入门学习资料。
Python学习手册(第三版) - part3
Python学习手册第3版,最好的Python学习入门资料。
Python学习手册(第三版) - part2
Python学习手册第3版,最好的Python学习入门资料。
Python学习手册(第三版) - part1
Python学习手册第三版,最好的Python学习入门学习资料。
ACM2009程序设计大赛试题
If you think participating in a programming contest is stressful, imagine being an air traffic controller. With human lives at stake, an air traffic controller has to focus on tasks while working under constantly changing conditions as well as dealing with unforeseen events.
Consider the task of scheduling the airplanes that are landing at an airport. Incoming airplanes report their positions, directions, and speeds, and then the controller has to devise a landing schedule that brings all airplanes safely to the ground. Generally, the more time there is between successive landings, the “safer” a landing schedule is. This extra time gives pilots the opportunity to react to changing weather and other surprises.
Luckily, part of this scheduling task can be automated – this is where you come in. You will be given scenarios of airplane landings. Each airplane has a time window during which it can safely land. You must compute an order for landing all airplanes that respects these time windows. Furthermore, the airplane landings should be stretched out as much as possible so that the minimum time gap between successive landings is as large as possible. For example, if three airplanes land at 10:00am, 10:05am, and 10:15am, then the smallest gap is five minutes, which occurs between the first two airplanes. Not all gaps have to be the same, but the smallest gap should be as large as possible.