-
犯错
某一层楼20层,有五部互联的电梯。基于线程思想所编写一个电梯调度程序。
每个电梯里面应该有一些按键:数字键、关门键、开门键、等。
每层楼的每部电梯门口,应该有上行和下行按钮。
五部电梯门口的按钮是互联结的,即当一个电梯按钮按下去时,其他电梯的相应按钮也就同时点亮,表示也按下去了。
调度算法是根据这五部电梯的状态,寻找离当前楼层最近的且和请求同方向的电梯给予响应。
所有电梯初始状态都在第一层。每个电梯如果在它的上层或者下层没有相应请求情况下,则应该在原地保持不动。
-err
- 2022-02-15 23:33:33下载
- 积分:1
-
vivi
vivi -vivi 1111111111111111111111111111111111111111111
- 2022-02-01 02:54:08下载
- 积分:1
-
设计一个能对PASCAL语言子集完成词法分析、语法分析和生成中间代码(四元式)的编译器。...
设计一个能对PASCAL语言子集完成词法分析、语法分析和生成中间代码(四元式)的编译器。-Design of a subset of the PASCAL language complete lexical analysis, syntax analysis and generation of intermediate code (quaternion type) of the compiler.
- 2022-10-21 22:05:03下载
- 积分:1
-
本程序进行模拟扑克牌发牌程序,可以把一付扑克牌分发给4个不同的对象,并把每个人所得到的牌显示促来...
本程序进行模拟扑克牌发牌程序,可以把一付扑克牌分发给4个不同的对象,并把每个人所得到的牌显示促来-This procedure to simulate poker licensing procedures can be distributed to one pay poker four different audiences, and each person received a license to display and promote
- 2022-02-04 04:41:01下载
- 积分:1
-
迷宫小程序进入页面,可以选择起点和终点,如果是铁…
迷宫小程序 进入页面 可以 选择 起始点和终点 若可行可以出现一条路径-Maze applet into the page you can choose the starting point and end point, if feasible, may appear a path
- 2022-04-15 21:29:48下载
- 积分:1
-
Unidac 与 ORACLE MYSQL 数据库的直接连接
Delphi XE5 组件
Update2
Unidac 与 ORACLE,MYSQL 数据库的直接连接
用于项目的移动。
- 2023-04-22 16:10:03下载
- 积分:1
-
MFC Expend DLL examples of winxp sp3/vc++ 6.0
MFC Expend DLL实例 winxp sp3 / vc++ 6.0-MFC Expend DLL examples of winxp sp3/vc++ 6.0
- 2022-06-14 06:27:58下载
- 积分:1
-
Provide a collection based on the Mapping realize.
提供一个基于 Mapping 的 集合实现。-Provide a collection based on the Mapping realize.
- 2022-03-26 01:36:51下载
- 积分:1
-
literacy bmp file for beginners
读写bmp文件用于初学者-literacy bmp file for beginners
- 2023-06-28 06:25:03下载
- 积分:1
-
神迹监视器1.3源代码 另一部分,加起来就比较全了
神迹监视器1.3源代码 另一部分,加起来就比较全了-miracle monitors 1.3 source code for the other part, add up all the more
- 2022-02-07 07:50:17下载
- 积分:1