资 源 简 介
M个人排成一排,一次报数,报到N的人出列。剩下的人继续报数,并以出列的人的编号作为新的N值,知道所有的人都依次出列。给出每一轮出列的人和剩下的队列信息。 人数:10 出列数:3 1 2 3 4 5 6 7 8 9 10 3/4 5 6 7 8 9 10 1 2 9/10 1 2 4 5 6 7 8-M individuals lined up a few reported, the report from the N series. The remaining few reported continued, and people from out of the numbers as the new N, know all the people turn out out. Each one is given out from the queue and the remaining information. : 10 out : 3 1 2 3 4 5 6 7 8 9 10 3/4 5 6 7 8 9 10 1 2 9/10 1 2 4 5 6 7 8