一个惯例是:鼓励最慢的一位走队首,以使整队以他的速度前进。
A common custom is to encourage the slowest hiker to hike in the lead and have everyone match that speed.
说罢,他让最后两个人站到队伍里,然后自己朝队首走去,边走边数着人数。
Therewith he lined up the last two and proceeded to the head, counting as he went.
每次选择队首顶点向其折叠点合并,并且更新队列中受影响的顶点信息,再对队列重新排序。
The top vertex in the queue was to be folded first and updated the vertices which were affected, then the queue was sorted again.
应用推荐