搜索资源列表
accepted1
- 解决时钟问题,acm竞赛题 A weird clock marked from 0 to 59 has only a minute hand. It won t move until a special coin is thrown into its box. There are different kinds of coins as your options. However once you make your choice, you cannot use any other kind.
Elevator
- 设计一个电梯模拟系统,这是一个离散的模拟程序,因为电梯系统是乘客和电梯等”活动体”构成的集合,虽然它们彼此交互作用,但它们的行为是基本独立的.在离散的模拟中,以模拟时钟决定每一个活动体的动作发生的时刻和顺序,系统在某个模拟瞬间处理有待完成的各种事情,然后把模拟时钟推进到某个动作预定要发生的下一个时刻-Elevator design a simulation system, which is a discrete simulation program, because the elevator s
dtmlcx
- 模拟程序包括一个时钟,每天从零开始。模拟程序得调度器组件随机设置每一层第一个人到来的时间,当时钟的时间等于第一个人到来的时间时,模拟程序生成一个新到的人将该人放到这一层。然后这个人按下按钮,请求电梯开门。这个人的目的地楼层不能与他上电梯的楼层相同。 -Simulation program includes a clock, every day from scratch. Simulation program was set up scheduling of each component la
shizhong
- 此程序主要是让读者熟悉c语言图形模式下的编程,了解系统绘图及数据结构的知识,此重难点是 时 分 秒针坐标值的计算和时钟指针的运行控制,有兴趣的话,可让程序支持鼠标操作,-This program is designed to allow the reader familiar with the c language graphics mode programming, understanding of the system mapping and data structure knowledge
clock
- CLOCK改进算法, 按照最多5块的内存分配情况,编程实现所选算法,动态输入访问内存的块号序列,输出置换结果; 测试:输入合法、非法的访问序列数据,检查程序的正确性和健壮性。-CLOCK algorithm improvements, in accordance with up to five memory allocation in programming to the selected algorithm, the dynamic input access memory block n
airport
- 【问题描述】假设机场有一条跑道,每架飞机需花费一定时间着陆,花费一定时间起飞,飞机的起降满足一定的概率。一般来讲,机场存在两个队列,一个等待着陆的飞机队列和一个等待起飞的飞机队列,同样等待时间下,等待着陆的飞机比准备起飞的飞机具有更高的优先级。试编写程序模拟这个机场的运行。 【基本要求】使用队列或优先队列实现;要求可以变换起飞和着陆频率来模拟一天中的飞行高峰期和空闲期;要求可以改变着陆和起飞时间以模拟不同的效果。 【实现提示】可以假设有一个每次前进一分钟的模拟时钟,对于每一分钟,产生两个
