文件名称:Joseph-Problem
-
所属分类:
- 标签属性:
- 上传时间:2016-06-20
-
文件大小:1.25kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
约瑟夫问题。设有n个人做作圆桌周围,从第s个人开始报数,报到m的人出列,然后再从下一个人开始报数,数到m的人又出列,如此重复,直到所有的人都出列为止。要求按出列的先后顺序输出每个人的信息。-Joseph problems. N individual has contrived around the round table, I began to count off s individual report m people out of the column, and then began to count off the next person, and the number of people out of the m column, repeat until all the people out of the line so far. Required by the order of the columns in the output of each person s information.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Joseph Problem/
Joseph Problem/说明.txt
Joseph Problem/约瑟夫问题.cpp
Joseph Problem/说明.txt
Joseph Problem/约瑟夫问题.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.