37 Exercise 8.3 Single-window "stuck" version of the bank queuing problem (programming question) [PTA Zhejiang University Edition "Data Structure (2nd Edition)" question set]

37 Exercise 8.3 Single-window "stuck" version of the bank queuing problem (programming question) [PTA Zhejiang University Edition "Data Structure (2nd Edition)" question set]

1. Original title link

Exercise 8.3 Single-window "stuck" version of the bank queuing problem (pintia.cn)

2.Title description

"Being stuck" in queues is a behavior that causes strong dissatisfaction among everyone, but this phenomenon often exists. In the bank's single-window queuing problem, it is assumed that the bank has only one window to provide services, and all customers line up in a long queue according to their arrival time. When the window is free, the next customer goes to the window to handle the transaction. At this time, if it is known that i i i customer and the next one j

Guess you like

Origin blog.csdn.net/weixin_40171190/article/details/134144113