搜索资源列表
lifaguan
- 数据结构作业.用C语言写的模拟理发馆理发排队队列问题.-data structure operations. Written in C language simulation barber's shop barber queue problem.
bb
- (1)一个理发店接待室有n张椅子,工作室有1张椅子; (2)没有顾客时,理发师睡觉; (3)第一个顾客来到时,必须将理发师唤醒; (4)顾客来时如果还有空座的话,他就坐在一个座位上等待; (5)如果顾客来时没有空座位了,他就离开,不理发了; (6)当理发师处理完所有顾客,而又没有新顾客来时,他又开始睡觉。 用条件变量实现(3张椅子) -(1) a barber shop in the reception room with n chairs, the stu
Haircut
- 用C语言编的理发馆仿真技术,需要输入chair s number 和closetime-Using C language made the Barber Museum simulation technology, the need to enter the chair s number and closetime
barber
- 一个理发店,只有一个理发师,只有n张可供顾客等待理发的椅子,如果没有顾客,则理发师睡觉;如果有一顾客进入理发店发现理发师在睡觉,则把他叫醒,写一个程序协调理发师和顾客之间的关系。-A barber shop, there is only one barber, only the n Zhang barber' s chair waiting for customers, without customers, the barber to sleep if there is a custom
fangzhen
- 编制一个事件驱动仿真程序。 模拟理发馆内一天的活动,要求输出在一天的营业时间内,到达的顾客人数、顾客在馆内的平均逗留时间和排队等候理发的平均人数以及在营业时间内空椅子的平均数。-Preparation of an event-driven simulation program. Analog Barber museum day activities required output within the business hours of the day, the number of cust