queue
shishiness
这个作者很懒,什么都没留下…
展开
-
pat 甲级 快乐模拟 A1014 Waiting in Line (30分)!!!!!
1014 Waiting in Line (30分) Suppose a bank has N windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. The rules for the customers to wait in line are: The space inside the yellow line in f原创 2020-07-25 10:34:31 · 87 阅读 · 0 评论 -
pat 甲级 快乐模拟 A1017 Queueing at Bank (25分)
1017 Queueing at Bank (25分) Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All the customers have to wait in line behind the yellow line, until it is his/her tur原创 2020-08-19 02:00:05 · 79 阅读 · 0 评论 -
pat 甲级 队列 A1056 Mice and Rice (25分)
1056 Mice and Rice (25分) Mice and Rice is the name of a programming contest in which each programmer must write a piece of code to control the movements of a mouse in a given map. The goal of each mouse is to eat as much rice as possible in order to becom原创 2020-07-21 11:48:18 · 57 阅读 · 0 评论