文件名称: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
相关搜索: people counting
(系统自动生成,下载前可以参看下载内容)
下载文件列表
十七人报数.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.