搜索资源列表
约瑟夫环
- 约瑟夫环-Josephus
约瑟夫环的循环链表实现
- 约瑟夫环的循环链表实现,这个程序比较完整,有需要做试验的请速速下载。-Josephus cycle Chain achieved, the procedure is complete, the pilot needs to be done urgently requested to download.
经典约瑟夫环问题c语言版
- 数据结构中解决约瑟夫环问题的代码,里面只有源代码,大家用TC2编译一下就可以用了:)。-data structure to solve the problem of Josephus code, only the source code, we use TC2 compiler can use it with a :).
Joseplus01
- VC++处学者可能用到的小程序,是著名的JOSEPHUS问题,书上已经有,但本人又编了一边-VC Office scholars might use the small program is the famous JOSEPHUS, there was a book, but I also produced a side
2Josephus
- 这是一个用microsoft VC++写的关于josephus问题的算法-using microsoft VC + + Josephus wrote on the algorithm
陈浩
- 约瑟夫环实践设计的前半段 大学二年纪暑假数据结构实习作业之一-Josephus practice in the first half of the two young university summer internship operational data structure one
约涩夫环终极版
- 约瑟夫环最终运行文件,适合直接使用者,不必再以来C语言来汇成执行文件。-Josephus final run files, suitable for users, having been formed to C language implementation document.
josephus.1
- 描述:设编号为1,2,…,n(n>0)个人按顺时针方向围坐一圈,每人持有一个正整数密码。开始时任意给出一个报数上限值m,从第一个人开始顺时针方向自1起顺序报数,报到m时停止报数,抱m的人出列,从他在顺时针方向上的下一个人起重新自1起顺序报数;如此下去,直到所有人全部出列为止。要求设计一个程序模拟此过程,并给出出列人的编号序列。 .算法思想: Jeseph函数是实现问题要求的主要函数,其算法思想是:从1至m对带头结点的单循环链表循环计数,到m时,输出该结点的编号值,,再从
jos数组程序
- 用数组解JOSEPHUS问题的程序源码,绝对没有错误-array solution with the procedures JOSEPHUS source, there is no wrong
jos14
- 用循环链表解决JOSEPHUS问题,精心制作-cyclic Chain JOSEPHUS solve problems carefully
1.2约瑟夫环
- 编制一个演示约瑟夫环的程序-prepare a demonstration Josephus procedures
Josephus算法
- 用JAVA写的一个小算法! 实现了出局的人数小于循环的人数~!·-using Java to write a small algorithm! Achieved less than the number out of circulation ~!
李森数据结构作业
- 文件夹中包括常用的数据结构的算法,包括二叉树的三种递归和非递归算法,染色问题,八皇后问题,深度广度遍历,约瑟夫环,数值转换,树的高度和叶子节点数,最小生成树 ,两点之间的所有路径-folder include common data structure of the algorithm, including the three binary tree recursive and non - recursive algorithm, Dyeing, 8 Queen, depth and bread
030300329jose
- Josephus 排列问题定义如下:假设n 个竞赛者排成一个环形。给定一个正整数m,从某 个指定的第1 个人开始,沿环计数,每遇到第m 个人就让其出列,且计数继续进行下去。这 个过程一直进行到所有的人都出列为止。最后出列者为优胜者。每个人出列的次序定义了整 数1,2,…,n 的一个排列。这个排列称为一个(n,m)Josephus 排列。 例如,(7,3)Josephus 排列为3,6,2,7,5,1,4。-Josephus problem with the definition
JosephusList
- 用链表实现Josephus问题的源码,混一个得分点吧-achieve Josephus with the source, a mixed it scores points
yuesefuhuanwenti
- 约瑟夫环问题。从这个程序可以学习到结构体的应用及指针的应用,当然还有算法了-Josephus problem. This procedure can learn the structure of the application and the target application and, of course, the algorithm
Josephus
- C语言:采用顺序表以及链表解决约瑟夫环问题(Visual C++ Josephus problem:sequence list;linked list)
C++
- 约瑟夫问题(Josephus problem)又称为约瑟夫斯置换,是一个出现在计算机科学和数学中的问题。在计算机编程的算法中,约瑟夫问题类似问题又称为约瑟夫环、“丢手绢问题”。(C + + solving josephus problem)
Josephus
- 编程求Josephus问题:m个小孩围成一圈,从第一个小孩开始顺时针方向每数到第n个小孩时这个小孩就离开,最后剩下的一个小孩是胜利者。求第几个小孩是胜利者。(Programming for Josephus problem: m children are surrounded by a circle. From the first child starts clockwise, every child counts to n child. The last child is the winner
02.2.2 顺序表【例2.1】Josephus环
- 用顺序表解决Josephus问题,java语言版的,数据结构(Using sequence table to solve Josephus problem)