登录
首页 » Menu菜单 » fen否则需依次排队等候。一旦有顾客理完发离去时,排在队头的顾客便可开始理发。若理发店每天 连续营业T小时, 求一天内顾客在理发馆内平均的逗留时间...

fen否则需依次排队等候。一旦有顾客理完发离去时,排在队头的顾客便可开始理发。若理发店每天 连续营业T小时, 求一天内顾客在理发馆内平均的逗留时间...

于 2022-03-05 发布 文件大小:477.86 kB
0 92
下载积分: 2 下载次数: 1

代码说明:

fen否则需依次排队等候。一旦有顾客理完发离去时,排在队头的顾客便可开始理发。若理发店每天 连续营业T小时, 求一天内顾客在理发馆内平均的逗留时间、顾客排队等候理发的队列的平均长度、营业时间到点后仍需 要完成的收尾工作时间 测试数据:理发椅数N及关门时间由用户读入,第一个顾客进门的时刻为0,之后每个顾客进门的时刻由 前一个顾客进门时间确定。即在进门事件发生时即产生两个随机数(durtime,intertime),durtime为进 门顾客理发所需要的服务时间,intertime为下一个顾客将到达的时间间隔。R为-fen otherwise be followed queue. Once customers Jimmy End made to leave, the first in the queue of customers will start barber. If the barber shop daily turnover of T consecutive hours a day for customers in the barbershop where the average length of stay, customers are queuing up at the barbershop the average queue length, hours after the close of the need to complete the relevant work time test data : N barber chairs and closed by the user time to read, a customers went 0 for the moment, the door after each customer from the time a customer comes first time to determine. At the time of the incident comes as a result of two random number (durtime, intertime), the door for customers durtime hairdressi

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696522资源总数
  • 104044会员总数
  • 20今日下载