-
犯错
某一层楼20层,有五部互联的电梯。基于线程思想所编写一个电梯调度程序。
每个电梯里面应该有一些按键:数字键、关门键、开门键、等。
每层楼的每部电梯门口,应该有上行和下行按钮。
五部电梯门口的按钮是互联结的,即当一个电梯按钮按下去时,其他电梯的相应按钮也就同时点亮,表示也按下去了。
调度算法是根据这五部电梯的状态,寻找离当前楼层最近的且和请求同方向的电梯给予响应。
所有电梯初始状态都在第一层。每个电梯如果在它的上层或者下层没有相应请求情况下,则应该在原地保持不动。
-err
- 2022-02-15 23:33:33下载
- 积分:1
-
this is Excel VBA code.
show directory Tree in worksheet.
this is Excel VBA code.
show directory Tree in worksheet.
- 2023-03-03 10:35:03下载
- 积分:1
-
视频编码器
此代码可帮助您进行编码和解码的视频。定期而不是关键帧的帧内刷新是可能的使每一帧,将最高限额为相同的大小,使每个切片将被立即传送单个 UDP 或 TCP 数据包和立即解码的到来。宏树率控制,控制的质量通过跟踪多久的框架部分用于预测未来的帧
- 2022-03-19 12:28:55下载
- 积分:1
-
我在vc6.0下做的几个小程序,我是新手,所以很多东西,但不经济。
我在vc6.0下做的几个小程序,我是新手,做的东西比较多,但都不精,希望斑竹接受我,以后与大家一起学习!-under vc6.0 I do several small procedure, I greenhorn, so many things, but not excellent, I hope Bamboo accepted, and after we will study together!
- 2023-01-10 23:45:03下载
- 积分:1
-
phone icon move
test application
phone icon move
test application-phone icon move test application
- 2022-03-25 03:03:58下载
- 积分:1
-
Using VC++6.0 development of a simple calculator, the VC in the process of learn...
使用VC++6.0开发的一个简单的计算器,是自己在学习VC的过程中的一个小小实践。-Using VC++6.0 development of a simple calculator, the VC in the process of learning a little practice
- 2022-08-17 11:13:20下载
- 积分:1
-
字模提取程序,可以直接使用。
字模提取程序,可以直接使用。 -Abstraction procedures can be used directly. Abstraction procedures can be used directly.
- 2022-08-11 05:53:23下载
- 积分:1
-
《Visual C++ 6.0程序设计实训教程(第二版)》源代码
《Visual C++ 6.0程序设计实训教程(第二版)》源代码- Visual C++ 6.0 Programming Training Course (Second Edition) source code
- 2022-08-13 10:34:29下载
- 积分:1
-
this is a word document discribe classified optimization problem.
this a word document discribe classified optimization problem.-this is a word document discribe classified optimization problem.
- 2023-05-04 08:00:03下载
- 积分:1
-
Building客户端ForWebServices
Building客户端ForWebServices-Building client ForWebServices
- 2022-03-13 00:58:50下载
- 积分:1