搜索资源列表
JOSPHS
- 采用带头结点的约瑟夫算法,存储结构采用单链表结构,无bug-using lead node Joseph algorithm, a single storage structure Chain structure, no bug
joseph小程序
- 2.1将n个人围成一圈,m为未进入游戏前的先行码,用来淘汰第一个出 局的人,然后依次给出淘汰者的密码,根据输入的密码来确定下一个淘汰是哪一个,并依次输出被淘汰的人对应的号码。 2.2用单向循环链表实现操作。-2.1 n personal cordons m not yet entered the game before the first yards out for the first out, then eliminated were given the password, the passw
约瑟夫环数据结构实验报告
- C语言数据结构课程设计约瑟夫环1. 本演示程序中,人数n应为任意的,首先应输入一个值赋给初始报数上限m,程序应能自动保存出列人的序号和将出列的人所持的密码赋给m,再次作为报数上限,如此循环,直至所有人都出列为止。-C language curriculum design data structure Joseph Central 1. The demo program, the number of n for arbitrary, and the first to be assigned to
cPP 约瑟夫问题
- 1、约瑟夫问题的一种描述是:编号为1,2,3——,n的n个人按顺时针方向围坐一圈, 每个人持有一个密码(正整数)。一开始任选一个正整数作为报数上线值m,从第一 开始按顺时针方向报数,报到m时停止报数。报m的人出列,将他的密码作为新 的 m值,从他在顺时针方向上的下一个人重新开始从1报数,如此下去,直至所有人 全部出列。 2、程序运行后,首先要求用户指定初始报数上限值,然后读取个人的密码。可设n≤30。 3、测试数据:m=20;n=7;密码一次为:3,1
Joseph-Circle 用顺序表实现约瑟夫环
- 用顺序表实现约瑟夫环,对逐个删除的情况进行了特殊考虑,大家可以参考-With the sequence table to achieve Josephus, one by one remove the situation of special consideration, we can refer to
jone.rar
- 设有n个人围做一圈,现从某个人开始报数,数到m的人出列,接着从出列的下一个人开始重新报数,数到m的人又出列,如此下去,直到所有人都出列为止。运用循环单链表解决约瑟夫环问题。, Is equipped with n personally to encircle makes, presently starts from some person to count off, leaves ranks the number to the m person, meets from the next pers
yosefu.rar
- 清华版数据结构实习题约瑟夫环的代码,下载的速度,Version of data structure Tsinghua internship Joseph Central title code, download the speed of
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
TEST1_Joseph
- 实验内容:约瑟夫环(Joseph)问题的一种描述是:编号为1、2、3……n的n个人按照顺时针方向围坐一圈,没人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按照顺时针的方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他的顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。试设计一个程序求出出列顺序。-Joseph circle
xhcl
- 小孩出列游戏。 小孩出列游戏,也称为joseph问题。一群小孩围成一个圆圈,任意设定一个数m,从其中某个小孩开始,顺时针方向开始数,每数到第m个小孩时,该小孩就离开,游戏一直进行到只剩最后一个小孩,该小孩便是游戏的胜者。 程序首先模拟生成一群孩子围成圆圈。然后实现游戏过程,获取最后的胜利者。 -Children out of the game out. Children out of line games, also known as joseph problem. Group of
Josephe2
- 数据结构中经典的约瑟夫问题的解决算法。简单易懂-Data structure in the classical algorithm to solve the problem of Joseph.
QRTT.rar
- QR方法求赫申伯格矩阵的全部特征值,有例子,检验过,很顺利的,QR method for Joseph Berger Shanghai eigenvalue matrix of all, there are examples of tests, it is smooth
Josephu
- 约瑟夫环的代码加实验报告 根据严蔚敏c语言版本的课后实验题目要求做的 希望对大家有帮助 -Joseph Central Experimental report code plus YAN Wei-Min c language version of the after-school experiment required the subject to all of us hope for help
JosephProblem
- 解决约瑟夫问题,很传统的题目了。方式很简洁,链表和数组两种数据结构-Solving Joseph Problem
约瑟夫环1
- 约瑟夫环源代码-Joseph Central source code
yuesefuhuan
- 用循環鏈錶完成數據結構中約瑟夫環的功能,解決了約瑟夫問題-Completion of the circular linked list data structure in Josephus to solve the problem of Joseph
TC
- 我们数据结构课上的一些作业 包括约瑟夫环和哈夫曼树之类的几个程序-Our data structure class operations, including some of Joseph Huffman tree rings and several procedures, such as
JOsEPH1
- 约瑟夫环-Joseph Central
yuesefuhuan
- 这是一个约瑟夫环的问题-This is a question of Joseph Central