搜索资源列表
约瑟夫环c++简单程序
- 约瑟夫环简单程序c做的,望大家参考下
JosephCentralissues.rar
- 约瑟夫环问题,数据结构实验题目实验一 线性表应用,Joseph Central issues
2-5-1.rar
- 使用使用带表头附加节点的循环单链表,用语解决约瑟夫问题的算法,Use headers with additional nodes using the cycle of single chain, language algorithms to solve the problem Joseph
c++
- c++源代码,包括约瑟夫问题、万年历的实现、用C++编写通讯录、螺旋方阵的输出、分形算法和一个编程大赛试题等等。-c++ source code, including Joseph problems, the realization of calendar with C++ the preparation of contacts, the output of square spiral, fractal algorithm and a programming contest questions
Jesephus
- 解决约瑟夫环的问题,并输出出圈的顺序。约瑟夫环的大小是任意的。-Joseph Ring solve problems, and the output of the loop sequence. Joseph ring size is arbitrary.
1
- 约瑟夫环算法,可以利用此算法解决栈存储的约瑟夫环问题.-Joseph loop algorithm, can use this algorithm to solve the storage stack Joseph Central problems.
123456
- 课程设计典型题源码,约瑟夫,计算器,数据结构等问题-Curriculum design typical source title, Joseph, calculators, data structure and other issues
josho(n)
- 约瑟夫环 o(n)解 //n,m input: n,m -- the number of persons, the inteval between persons-Joseph Ring o (n) solution// n, m input: n, m- the number of persons, the inteval between persons
SJ3_5
- 实现约瑟夫环作用的程序,课程设计的程序,-The realization of the role of Joseph Central procedures, curriculum design process,
malloc
- 约瑟夫环的算法-Joseph Ring algorithm
Joseph
- 约瑟夫环问题: 设编号为1,2,…,n的人按顺时针方向围坐一圈,每人持有一个正整数密码。开始时任意给出一个报数上限值m,从第一个人开始顺时针方向自1起顺序报数,报道m时停止报数,报m的人出列,将他的密码作为新的m值,从他的顺时针方向上的下一个人起重新自1起顺序报数;如此下去,直到所有人全部出列为止。要求设计一个程序模拟此过程,并给出出列人的编号序列。 -Joseph Central question: Let numbered 1,2, ..., n the person clockw
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!
d
- 约瑟夫环(Joseph)问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始人选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从它在顺时针方向的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。试设计一个程序求出出列顺序-Joseph Central (Joseph) a descr iption of the problem is: numbered 1
vb_josefu
- vb\模拟约瑟夫问题 包含题目,三个版本的源码 -vb \ Analog Joseph the question contains a subject, the three versions of the source code
约瑟夫问题
- 使用C语言实现约瑟夫问题,很适合学习数据结构入门级的(Using the C language to implement the Joseph problem)
约瑟夫生者死者游戏
- 约瑟夫生者死者游戏的C语言实现,包含h头文件(Joseph live dead game C implementation, including the head file)
约瑟夫
- 利用Visual C++实现的模拟约瑟夫问题的样例(An example of simulating Joseph problem by using Visual C++)
双向约瑟夫
- 约瑟夫问题是一个经典的问题,我们不妨将这个经典问题进行扩展,变成一个双向的约瑟夫问题。 已知 n 个人(不妨分别以编号 1,2,3,...,n 代表 )围坐在一张圆桌周围,首先从编号为 k 的人从 1 开始顺时针报数,1, 2, 3, ...,记下顺时针数到 m 的那个人,同时从编号为 k 的人开始逆时针报数,1, 2, 3, ...,数到 m 后,两个人同时出列。然后从出列的下一个人又从 1 开始继续进行双向报数,数到 m 的那两个人同时出列,...;。依此重复下去,直到圆桌周围的人
约瑟夫问题-循环链表典型应用
- 约瑟夫问题-循环链表典型应用 n 个人围成一个圆圈,首先第 1 个人从 1 开始一个人一个人顺时针报数, 报到第 m 个人,令其出列。然后再从下一 个人开始从 1 顺时针报数,报 到第 m 个人,再令其出列,…,如此下去,求出列顺序。 求解: 假设 m = 3, n = 8 (1 2 3 4 5 6 7 8) 结果: 3 6 1 5 2 8 4 7(Joseph problem - typical application of circular list N peopl