文件名称: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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
十七人报数.cpp