搜索资源列表
joseph
- joseph,著名的约瑟夫环问题,学C的都应该知道
joseph
- 这是经典的joseph算法,适用于小型数据的排序,对于大型数据速度较慢
joseph
- 实现joseph环问题,用visual c++实现,希望对大家有用,谢谢分享
Joseph
- Joseph环的经典算法,里面包括递归和公式算法和详细的讲解。
Joseph
- 约瑟夫问题,用循环队列解决,从指定的第m个元素到第n个元素依次读出队列中的元素-Joseph problems, and use circular queue resolved, the first m from the specified element to the first n elements in turn to read out the elements of the queue
Joseph
- 约瑟夫环源代码,C语言数据结构上机实习作业,保证正确哦!-Joseph Central source code, C language data structure on the machine operation training, and ensure the correct Oh!
Joseph
- 使用C++编写的解决约瑟夫问题的小程序.-The use of C++ Prepared to resolve the issue of Joseph applet.
Joseph
- 一个关于约瑟夫环的程序,可以成功模拟约瑟夫环的原理。-Joseph Central on the procedure can be successfully simulated the principles of Joseph Central.
Joseph
- 约瑟夫环问题: 设编号为1,2,…,n的人按顺时针方向围坐一圈,每人持有一个正整数密码。开始时任意给出一个报数上限值m,从第一个人开始顺时针方向自1起顺序报数,报道m时停止报数,报m的人出列,将他的密码作为新的m值,从他的顺时针方向上的下一个人起重新自1起顺序报数;如此下去,直到所有人全部出列为止。要求设计一个程序模拟此过程,并给出出列人的编号序列。 -Joseph Central question: Let numbered 1,2, ..., n the person clockw
Joseph
- 本程序主要是约瑟夫问题。输入为总人数,然后分别输入每人的密码,最后输入第一次报数的上限。输出则是按出列的先后顺序输出编号。 实例 输入为 7 3 1 7 2 4 8 4 6 则对应输出为6 1 4 7 2 3 5-This procedure is the main problem Joseph. The total number of input, and then enter the password for each, and finally enter the
Joseph
- 实现约瑟夫环,可以提供无限的人数来玩这个游戏。-Joseph implementation ring, can provide an unlimited number of people to play the game.
joseph
- 实现约瑟夫环编程,且过程清晰,可以看到每一步的执行情况!-Joseph Central programming implementation, and the process clear, we can see the implementation of each step!
Joseph
- 数据结构实习,约瑟夫环的C++实现。在VC++6.0下编译成功。-Data structure internships, Joseph Central C++ to achieve. In VC++6.0 to compile the success of the next.
Joseph
- 数据结构链表实验的joseph算法。可以实现数据结构练习册上的实验-the Descr iption of Joseph
Joseph
- 对约瑟夫问题的求解,适用于初学者熟悉数组函数-Solving the problem of Joseph, for beginners familiar with the array function
Joseph
- 这是数据结构中关于链表一部分的经典题目--约瑟夫-This is a linked list data structure on the part of the classical topics- Joseph
Josephus
- 模拟约瑟夫环,数据结构 为循环链表满足其算法的任何要求-Simulation Joseph Central, for the circulation list data structure to meet any requirements of the algorithm
joseph
- 约瑟夫环实现,用C编写,实现代码简单,多样,可以自动设置-Joseph Wan realized, prepared by C, the realization of the code is simple, diverse, you can automatically set
joseph
- 约瑟夫(Joseph)问题的一种描述是:编号是1,2,……,n的n个人按照顺时针方向围坐一圈,每个人持有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向的下一个人开始重新从1报数,如此下去,直到所有人全部出列为止。设计一个程序来求出出列顺序。 基本要求: 利用单向循环链表存储结构模拟此过程,按照出列的顺序输出各个人的编号。 测试数据: m的初值为20
Joseph
- 约瑟夫问题,四种解法,分别是静态链表,顺序表两种和循环链表-Joseph problems, the four solution, namely a static list, order form and the cycle of two lists