When in a queue, the other line always moves faster and the person in front of you will always have the most complex of transactions.
排队时,别的队总是移动得更快,你前面的人总有最复杂的业务。
At the main Shanghai store of Louis Vuitton there is a queue to get in at weekends - young women wait patiently in the rope line, as if they were trying to get into the hottest new LA club.
在上海的路易·威登店,周末等待进店消费的年轻顾客耐心排起了队。
Prescription in hand, we move on to the next queue, where we are eighth in line to pay for medicine.
拿到药方,我们去排下一个队,这次是付药费,我们排第8个。
Everybody is standing in the same line, in the same queue.
每个人都在相同的行列中。站在相同的起点。
You've probably experienced mild queue rage yourself in fast food restaurants, watching people in the other line zoom ahead of you, cursing yourself for having chosen the "wrong" line.
你之前可能在快餐店里经历过并不严重的排队怨气,看着其他队列的速度快过自己,便会咒骂自己选错了队列。
At the main Shanghai store of Louis Vuitton there is a queue to get in at weekends - young women wait patiently in the rope line, as if they were trying to get into the hottest new LA club.
在路易·威登(Louis Vuitton)上海旗舰店,每到周末,等待进店的顾客排成长龙,年轻女性耐心等候在绳子圈起来的队伍里,仿佛她们要进的是最红火的、新开张的夜店LA Club。
For each test cases, output a single line of space-separated integers which are the values of people in the order they stand in the queue.
大意:排队买票问题,后面来的总是把原来的人替换掉,并且使得原来的人往后移,让你顺序输出他们代表的编号,用线段树来记录空格数。
For each test cases, output a single line of space-separated integers which are the values of people in the order they stand in the queue.
大意:排队买票问题,后面来的总是把原来的人替换掉,并且使得原来的人往后移,让你顺序输出他们代表的编号,用线段树来记录空格数。
应用推荐