搜索资源列表
yosegh
- 该程序是数据结构中的链表应用,即约瑟夫环的小游戏.-the program is the data structure Application List, Josephus small game.
TEST1_Joseph
- 实验内容:约瑟夫环(Joseph)问题的一种描述是:编号为1、2、3……n的n个人按照顺时针方向围坐一圈,没人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按照顺时针的方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他的顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。试设计一个程序求出出列顺序。-Joseph circle
Josephe2
- 数据结构中经典的约瑟夫问题的解决算法。简单易懂-Data structure in the classical algorithm to solve the problem of Joseph.
Joseph_ring20120813
- 约瑟夫环问题的c++解决方法,包括双向链表和单向链表两种解决方法。-Josephus problem c++ solutions, including the doubly linked list, singly linked list are two workarounds.
ysf
- 约瑟夫的C++ 在windows操作系统下的算法用VC来实现,算法简单效率较高-Joseph' s C++ in the windows operating system to use VC to implement the algorithm, the algorithm simple and efficient
Josephus
- 解决约瑟夫问题的一个较为简单的例子的源代码。-Joseph problems to solve a relatively simple example of the source code.
sequencejosephus
- 代码采用顺序表的存储方法解决约瑟夫问题。-The code sequence-table storage method to solve the problem, Joseph.
main
- 计算约瑟夫环,本程序是一个控制台程序,能够计算出约瑟夫环。-compute the Josephus
JosephProblem
- 解决约瑟夫问题,有n个小孩报数,报到规定数时就被罚下,依次显示被罚下小孩的编号-To solve the Josephen Problem,the children who get the number was put will be out in all n,present the number of children was out.
Josephus
- 实现约瑟夫环,输入总个数和开始报数序号以及间隔,输出一个出队队列-Josephus, enter the total number and start reporting the number of serial interval, the output of a team queue
Joson20121015
- 解决算法设计中的约瑟夫问题,用C++编写实现。程序中包含注释,具有较高的可读性。适合于初学者学习。-Solve the algorithm design Joseph C++ prepared to achieve. Included in the program notes, has a high readability. Suitable for beginners to learn.
Josephus
- 简单的约瑟夫环和复杂的约瑟夫环问题的代码。-Simple Joseph ring and complex Joseph ring problem code
jos
- 约瑟夫环出列问题,古罗马竞技场选择幸存者不杀头经典问题-Josepth problem s solution....eh very very very good
JoseQuestion
- 约瑟夫环问题求解 约瑟夫环问题的具体描述是:设有编号为1,2,……,n的n(n>0)个人围成一个圈,从第1个人开始报数,报到m时停止报数,报m的人出圈,再从他的下一个人起重新报数,报到m时停止报数,报m的出圈,……,如此下去,直到所有人全部出圈为止。当任意给定n和m后,设计算法求n个人出圈的次序。-Josephus Josephus problem solving specific descr iption is: has numbered 1, 2, ...... n n (n
Joseph_console
- 这是VC++6.0环境下的约瑟夫控制台程序,用C语言编写的。-Joseph VC++6.0 environment console program written in C language.
JosephusProblem
- 用C程序解决约瑟夫斯问题,是一个出现在计算机科学和数学中的问题。在计算机编程的算法中,类似问题又称为约瑟夫环。-In computer science and mathematics, the Josephus Problem (or Josephus permutation) is a theoretical problem related to a certain counting-out game.
ysfhcPP
- 约瑟夫环,大学的c++算法实验,做一个约瑟夫环的源码-Josephus, the University of c++ algorithm experiment, make a source of Josephus
YueSeFu
- 约瑟夫问题,用java简单实现的,要简单点的话,已经OK了。有指导运行,有注释。-Joseph problem
Josephus
- 约瑟夫环的实现,算法是自己写的,简单小程序-Josephus realization algorithm is to write a simple little program
Josephus
- 约瑟夫(Josephus)环问题:编号为1,2,3,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一人开始重新从1报数,如此下去,直到所有人全部出列为止。 建立n个人的单循环链表存储结构,运行结束后,输出依次出队的人的序号。(必须用链表)-Joseph (Josephus) Central question: numb