搜索资源列表
求解约瑟夫问题
- 求解约瑟夫问题。设有n个人围成一个圆圈坐下,对所有围从的人从某个位置开始编号为1,2,3,……,n,从编号为1的人开始报数1,报数依交进行,报数n的人即出列,下一个人从1开始报数,再报数m的人便是第二个出列的人如此重复下去,直到最后一个人出列为止,于是便得到一个出列的顺序,这称之为约瑟夫(Josephu)问题。-solving problems. N individuals have formed a circle to sit down, all right Wai from the star
1.2约瑟夫环
- 编制一个演示约瑟夫环的程序-prepare a demonstration Josephus procedures
7.约瑟夫环
- 约瑟夫环的问题,这是一个比较经典的编程实例,我做了一个小程序来实现了其算法-Joseph Central, which is a more classical programming examples, I had a small program to achieve its algorithm
约瑟夫环问题(数组法)
- 约瑟夫问题的求解方案,经典-Joseph solving the problem, classic
约瑟夫环等问题
- 用C语言编写的约瑟夫环等问题.用链式存储实现!-C language of Josephus and other issues. Chain store used to achieve!
约瑟夫环问题
- 这是解决约瑟夫圜的程序. 注释:这是本人自己编写的.不足之处请各位大哥大姐多多指教,另外请注意版权问题.-Joseph won the procedures. Note : This is my own prepared. Deficiencies Department asked Big Brother Big Sister to the exhibitions, and to copyright issues.
约瑟夫问题
- --- ---约瑟夫问题--
约瑟夫(josehus)问题
- 约瑟夫环的数据结构算法 VC++6.0实现-Josephus algorithm data structure VC + + 6.0
约瑟夫问题
- 此程序对于初学vc++的人有一定的借鉴意义。帮助人们解决约瑟夫问题。
约瑟夫问题
- 用在解决约瑟夫问题-Joseph used to solve problems
约瑟夫环的算法
- 约瑟夫环的c语言算法-Josephus c language algorithm
约瑟夫算法以及算法分析
- 数据结构算法之 约瑟夫算法-data structure algorithms Joseph Algorithm
约瑟夫环111
- 一个关于约瑟夫环的程序-one of the procedures Josephus
约瑟夫环问题link
- 学生初学,c实现约瑟夫环(圆桌问题),算法应该不是很高效,望各位高人看了改进改进!-beginner students, c achieve Joseph Central (round table), the algorithm should not be very efficient, a person looking to improve reading improvement!
约瑟夫
- 约瑟夫问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,没人持有一个密码。一开始人选一个正整数作为报数上限值m,从第一个人开始按顺时针自1开始报数,报到m是停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。-a descr iption of the problem is : No. 1, 2, ..., n n clockwise direction by individuals sitting a
用c实现的约瑟夫环问题
- 约瑟夫问题有原始的约瑟夫和发展了的约瑟夫两种。 原始的约瑟夫的描述: 古代某法官要判决N个犯人的死刑,他有一条荒唐的法律,将犯人站成一个圆圈,从第S个人开始数起,每数到第D个犯人,就拉出来处决,然后再数D个,数到的人再处决———直到剩下的最后一个可赦免。 发展的约瑟夫的描述: 古代某法官要判决N个犯人的死刑,但这N个人每人持有一个密码,他有一条荒唐的法律,将犯人站成一个圆圈,法官先给出一个密码M,从第S个人开始数起,每数到第M个犯人,就拉出来处决,再根据这个人所持有的密码F,然后再数F个,数到的
约瑟夫环的答案
- 数据结构——约瑟夫环的答案算法实现程序源代码,望多多指教。-data structure -- Josephus answer algorithm source code, look exhibitions.
另类约瑟夫环2
- 这是关于约瑟夫环的一个程序,和其它的有些不同,希望大家指点指点。-This is the part of a Joseph procedures, and other somewhat different, we hope that the guidance instructions.
约瑟夫环数据结构实验报告
- C语言数据结构课程设计约瑟夫环1. 本演示程序中,人数n应为任意的,首先应输入一个值赋给初始报数上限m,程序应能自动保存出列人的序号和将出列的人所持的密码赋给m,再次作为报数上限,如此循环,直至所有人都出列为止。-C language curriculum design data structure Joseph Central 1. The demo program, the number of n for arbitrary, and the first to be assigned to
约瑟夫环原码
- 约瑟夫环的原程序很好用的啊 我的程序是自己做的 考试还得了优呢 免费的 大家快来下载啊 -Josephus the original program with the good ah my own procedure is the examination of priorities? Need everyone to hurry free download ah