搜索资源列表
JOSEPHUS
- 著名的约瑟夫环问题,采用链表数据结构 已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。 例如:n = 9, k = 1, m = 5 【解答】 出局人的顺序为5, 1, 7, 4, 3, 6, 9, 2, 8。-well-known Josephus Problem,using link list method
yusefu
- 约瑟夫环算法的c源码,编写可以参照网络。写法简单-Joseph Ring algorithm c source code, write the network can refer to
yuesefu
- 关于约瑟夫环的C语言程序,可在VC++6.0上直接执行-yuesefuhuan
2
- 约瑟夫环(Joseph)问题的一种描述是:编号1,2,┉,n的n个人按顺时针方向围坐一圈,每个人持有一个密码(正整数),一开始,任选一个正整数作为报数上线值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1开始报数,如此下去,直至所有人全部出列为止。设计一个程序求出出列顺序。-Joseph Ring (Joseph) a descr iption of the problem is: No. 1,2,
1
- 清华大学严蔚敏老师《数据结构题集(C语言版)》实验 约瑟夫环 源代码-Tsinghua University, Yan Wei-min teacher " theme set the data structure (C language version)" Experimental Joseph Ring source code
Josephus
- 约瑟夫环问题:n个人围成一个圈开始报数,报到m的人出列,求出列的次序,并动画显示。-Josephus
Joseph
- 文件是一个对约瑟夫环的实现,运用了链表的数据结构对节点进行操作-the project is about the cometrue of Joseph huan using link to operate
245724378
- 约瑟夫环的代码,经过我的修改,此代码属于最精练的约瑟夫换代码-Joseph ring code, after I modified this code are among the most refined of Joseph for the code
Joseph
- 约瑟夫环 c++实现 绝对正确 自己制作的~希望可以帮到你们-Joseph Ring
yuesefuhuan
- 这是关于著名问题:约瑟夫环问题的一个解决方法,采用C++编程-This is about the well-known problem: Joseph Central, a solution to the problem, using C++ Programming
yuesefu
- 约瑟夫环的实现. 用的循环数组. 数据结构与算法的编程练习.-Joseph Ring realized. With the cycle of the array. Data structures and algorithms programming exercises.
12
- 用C++实现约瑟夫环队列 希望对大家有用 -C++, achieving Joseph Central queue for all of us want to thank you
quan~`
- 这是一个简单的动态现实的约瑟夫环 用于排除制定圈内的某个人-this is a simple system for yuesefu loop
111
- 约瑟夫环,运用了数据结构中的链结构。具体请详细观察源程序-Joseph Wan, the use of the data structure in the chain structure. Please observe the specific source code
shuai
- 排序vc++实现,用于完成一个约瑟夫环,可以实现0到50000的任何人数和步长的计算。-Sort vc++ implementation for the completion of a Joseph Central, 0-50000 can be achieved in any number and step calculations.
Joseph
- 约瑟夫环的简单实现.猴子选大王的简单实现,用了指针-It is the simple realization of Joseph Ring.
joseph
- 这是一个数据结构的实习题,利用一个单链表求约瑟夫环,比较简单-This is a data structure of the internship title, using a single linked list seeking Joseph Central, relatively simple. .
ysf
- 约瑟夫环 自编,无界面 希望可以交流一下 在C下运行 应该没问题-yuesefuhuan
shujujiegou1
- 数据结构约瑟夫环的实验报告,程序源码自己写的,C语言开发-Joseph ring data structure experimental report, the program source code written in their own, C language development
monkey
- 自己写的集猴子报数(约瑟夫环)和简单计算器于一体的程序,通过单击按钮实现功能切换。-My own set of monkeys reported number (Joseph Central) and a simple calculator in one program, by clicking the button to switch to achieve functionality.