xunhuanbaoshu
代码说明:
这个程序针对的问题是: 17个人为成圈,依次编号为0-16,从第一号开始报数,报到3的倍数的人离开, 一直数下去,直到最后只剩1人,求此人的编号. 程序有点复杂,不过还只能算是初级的水平 (This procedure for the question is: 17 individuals into the circle, followed by numbered 0-16, from the first to begin reported the number of people who report a multiple of three to leave, to keep counting votes until the last only a person seeking this person number. program a bit complicated, but can only be considered the primary level of)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!