文件名称:chaduimaipiao
介绍说明--下载内容均来自于网络,请自行研究使用
在每个队伍允许插队的情况下,若你在排队,有一个以上的朋友要求插队,你可以安排他们的顺序,每次一个人入队,并且如果这个入队的人发现队伍中有自己的朋友,则可以插入到这个朋友的后面,当队伍中的朋友不止一个时,这个人会排在最后一个朋友的后面。若队伍中没有朋友,则排在队伍的最后面。每一个入队的人都先进行上述判断。当队伍前面的人买到票后,依次出队。 -In the case of each team allowed to jump the queue, if you are in the line up, there are more than a friend request to jump the queue, you can arrange them in the order, one at a time into the team and if the team into the team found their own friends, can be inserted into the friend behind friends in when the team is more than one, this man came in the back of a friend. If the team has no friends, came in the team' s final surface. Each enqueue the first judgment. Turn the team when the team in front of people buy tickets.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验报告-插队买票.doc