文件名称:joseph
- 所属分类:
- 其他小程序
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- wangs******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
题目:约瑟夫环问题
一.问题描述
设有n个人围做一圈,现从某个人开始报数,数到m的人出列,接着从出列的下一个人开始重新报数,数到m的人又出列,如此下去,直到所有人都出列为止。试设计确定他们的出列次序序列的程序。
-Title: Joseph Central issues 1. Descr iption of the problem has to do lap Wai n individuals, are reported from a few individuals to start, a few people out of the m out, and then a column from the next re-reported the number of individuals, several of the m out of people, so until all that far out. Test designed to determine whether they should set out the order of a sequence of procedures.
一.问题描述
设有n个人围做一圈,现从某个人开始报数,数到m的人出列,接着从出列的下一个人开始重新报数,数到m的人又出列,如此下去,直到所有人都出列为止。试设计确定他们的出列次序序列的程序。
-Title: Joseph Central issues 1. Descr iption of the problem has to do lap Wai n individuals, are reported from a few individuals to start, a few people out of the m out, and then a column from the next re-reported the number of individuals, several of the m out of people, so until all that far out. Test designed to determine whether they should set out the order of a sequence of procedures.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
joseph.c