搜索资源列表
阅瑟夫环
- 用c语言实现阅瑟夫环,是利用数据结构实现的-Realize the Joseph Ring with C language, and it is realized with data structure.
josphproblem
- 约瑟夫问题的源码 经过调试 想和大家交流心得-Joseph after the source debugging and we would like to exchange experience
yusefu123456
- 利用visual c++ 来实现“约瑟夫问题”-use to achieve visual c "Joseph"
Josephus01
- 约瑟夫问题,很想为本站做点贡献,同时也想向各位哥哥姐姐学习-Joseph, like the site, donated, but also would like to study brother and sister
Yueshefu
- 一个汇编语言编写的程序,用来实现约瑟夫环,编写此程序时的具体问题是猴子选大王-an assembly language prepared by the procedures used to achieve Joseph Central, this program will prepare specific issues in the election monkey king
约瑟夫环问题
- 这是解决约瑟夫圜的程序. 注释:这是本人自己编写的.不足之处请各位大哥大姐多多指教,另外请注意版权问题.-Joseph won the procedures. Note : This is my own prepared. Deficiencies Department asked Big Brother Big Sister to the exhibitions, and to copyright issues.
Josephu
- 该程序能够解决约瑟夫问题,即n个人围成一圈,每m个人出局一人,求出出列的顺序,并且求出最后留下哪个人-procedures to solve the problem of Joseph, n individuals form a circle, every individual out of the game, a m, sought out the order out, and which was obtained last person
JosephProgram
- Joseph环的小程序. 欢迎批评指正-small procedures. Correction welcome criticism
yuecefuhuan
- 实验题目 约瑟夫环 一、 实验目的 用一个循环链表来实现约瑟夫环问题 二、 实验内容 编号为1,2,……,n的n个人按顺序时针方向围坐一圈,每个人吃一个密码。一开始任选一个整数作为报数上限值m,从第一个人开始顺时针自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从它在顺时针方向上的下一个人开始重新从1报数,如此下去直到所有人全部出列。 三、 需求分析 输入m=20;n=7,7个人的密码依次是:3,1,7,2,4,8,4,出列顺序为:6,1,
joseph
- joseph,著名的约瑟夫环问题,学C的都应该知道
13094056703
- 一些经典CC++程序源码 1、 运动会分数统计** 2、 订票系统 3、拓扑排序4、 迷宫求解5、 文章编辑**6、 joseph环 7、 猴子选大王**8、 建立二叉树,层序、先序遍历( 用递归或非递归的方法都可以)**9、 赫夫曼树的建立 10、 纸牌游戏**11、图的建立及输出
joseph
- 约瑟夫(Joseph)问题的一种描述是:编号是1,2,……,n的n个人按照顺时针方向围坐一圈,每个人持有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向的下一个人开始重新从1报数,如此下去,直到所有人全部出列为止。设计一个程序来求出出列顺序。 基本要求: 利用单向循环链表存储结构模拟此过程,按照出列的顺序输出各个人的编号。 测试数据: m的初值为20
Joseph
- 约瑟夫环 c++实现 绝对正确 自己制作的~希望可以帮到你们-Joseph Ring
Joseph
- 一种比较简单的实现约瑟夫换的方法,未使用循环链表-A relatively simple method for the realization of Joseph, unused circular linked list
joseph
- 约瑟夫问题(有时也称为约瑟夫斯置换,是一个出现在计算机科学和数学中的问题。在计算机编程的算法中,类似问题又称为约瑟夫环。又称“丢手绢问题”)。-Joseph problems (sometimes called Josephus replacement, is an appearance in computer science and mathematics problems in computer programming algorithm, similar problems also kno
joseph-ring
- 约瑟夫环问题约瑟夫环是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。-Joseph ring
Joseph-ring
- 基于C语言通过顺序结构和链式结构实现约瑟夫环问题-C language realization of Joseph through the sequence structure and chain structure based on
joseph-circle
- 经典的约瑟夫环问题,有n个人围着一张桌子报数-Joseph circle
joseph-ring
- 约瑟夫环是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。通常解决这类问题时我们把编号从0~n-1,最后结果+1即为原问题的解。-joseph ring
Joseph-ring-
- 这是一个约瑟夫环数据结构实现程序,当任意给定人数n和密码m后,设计算法求n个人出圈的次序。-Joseph ring which is a data structure implementation procedures, when any given number n and password m, the order of the design algorithm for n personal ones.
