搜索资源列表
0
- 约瑟夫环问题,在C语言开发案例中有介绍 个人有相对简便的方法。-Josephus problem, in the C language development are described in individual cases have a relatively easy way.
yuesefu
- 用c语言开发的来实现约瑟夫环问题的求解程序。-C language development to achieve the Josephus problem solver.
CPPdata-structure-of-Joseph-ring
- 首先,设计实现约瑟夫环问题的存储结构。由于约瑟夫环本身具有循环性质,考虑采用循环链表,为了统一对表中任意节点的操作,循环链表不带头结点-Design and implementation of Joseph ring problem
resourse
- 打开pdf 二叉树的建立与操作 银行家算法 约瑟夫环问题的编程-i don‘t know how to translate it in english ,sorry !!
Joseph
- 经典的约瑟夫环问题:编号为1,2,..., n 的n 个人按顺时针方向围坐一圈, 每人持有一个密码(正整数)。一开始选任一个正整数作为报数上限值 m, 从第一个人开始按顺时针方向自1 开始顺序报数,报到 m 时停止报数。报 m 的人出列,将它的密码作为新的 m值。试设计一个程序求出出列顺序。 现已C语言实现-Classic Joseph ring problem: Numbers for 1, 2,... , n n personal clockwise sat a lap, each hold
Joseph
- 约瑟夫环问题,简明算法.注释部分可单独构成助于理解的文档.-Josephus, concise algorithm. Comment section can be used alone constitute a help to understand the document.
Josephus
- VC++6.0下的约瑟夫环问题实现,可以输入人数和要数的数字,并将出队的次序依次输出-Josephus Circle with VC++6.0.You can input number of people and the number to be counted.Then sequence can be printed on the screen.
joseph
- 模拟约瑟夫环(josephus)问题: n个人(编号为1,2,3,……,n (n>0) )按顺时针方向围坐一圈,每人持有一个正整数密码。开始时任意给出两个值:一个为首先报数的人的编号i (0<i<=n),另一个为起始报数上限值m。接着从编号为i的人开始按顺时针方向自1起顺序报数,报到m时停止报数,且报到m的人出列,并将他的密码作为新的m值,从他在顺时针方向上的下一个人起重新自1报数,……,如此下去,直到所有人全部出列为止。设计一个程序模拟此过程,给出出列人的编号序列。 基本
Josephus
- 约瑟夫(Josephus)环问题 设n个人围坐在一个圆桌周围,现在从第s个人开始报数,数到第m个人,让他出局;然后从出局的下一个人重新开始报数,数到第m个人,再让他出局,如此反复直到所有的人全部出局为止。 下面要解决的约瑟夫(Josephus)环问题是:对于任意给定的n,s和m,求出这n个人的出局序列。要求以单循环链表作为存储结构,实现约瑟夫环问题。然后使用n=9,s=1,m=5,以及n=9,s=1,m=10作为输入数据,检查你的程序的正确性和健壮性。 -Joseph (Josep
JosephSTL
- [转发]约瑟夫环问题的一种C语言的算法,STL链表解法。-[Forwarded] Josephus a C language algorithms, STL linked list solution.
Josehpos
- [转发]约瑟夫环问题的不带头结点的循环链表解法,可以成功运行哒~-[Forwarded] Josephus problem does not take the lead in the solution of the circular linked list of nodes, you can successfully run da ~
Josehpos
- [转发]约瑟夫环问题的带头节点的循环链表的解法-[Forwarded] the solution of the circular linked list of the leading node of the Josephus problem
Josephus
- [转发]约瑟夫环问题的数组解法,很简单的一个算法。-[Forwarding] the Josephus array solution, a very simple algorithm.
Josephus
- 约瑟夫环问题 数据结构经典算法 链表实现-Josephus problem
huan
- 约瑟夫环问题的代码。设有N个人围坐一圈,从某个人开始报数,数到M的人出列,接着从出列的下一个人开始重新报数,数到M的人又出列,如此下去,直到所有人都出列为止.试设计确定他们的出列次序序列的程序。-Joseph cycle problem code. With N individuals sitting around a circle, starting from the one person reported the number of people who count the column M
Josephus
- 简单的约瑟夫环和复杂的约瑟夫环问题的代码。-Simple Joseph ring and complex Joseph ring problem code
Josephus
- 约瑟夫环问题:设编号为1,2,3,……,n的n(n>0)个人按顺时针方向围坐一圈,每个人持有一个正整数密码。开始时任选一个正整数做为报数上限m,从第一个人开始顺时针方向自1起顺序报数,报到m是停止报数,报m的人出列,将他的密码作为新的m值,从他的下一个人开始重新从1报数。如此下去,直到所有人全部出列为止。令n最大值取30。要求设计一个程序模拟此过程,求出出列编号序列-Josephus problem: Let numbered 1, 2, 3, ...... n n (n> 0) i
JOSEPHUS
- 约瑟夫环问题的实际场景。已知n个人围坐在圆桌周围,从编号k的人开始报数,数到m的那个人出列,依次下去,直至全部出列。采用的解决方法是典型的循环链表的数据结构。-Josephus actual scene. Given n people sitting around the round table, starting from the number k reported number, the number to m the man out of the line, and go on, unti
Huffman
- 哈夫曼树,用哈夫曼树解决约瑟夫环问题 代码具有良好封装性-Huffman tree Huffman tree the Josephus problem code with good package
hw1-joseph
- c++数据结构中处理约瑟夫环问题源码,使用模版编写链表。配套清华版数据结构图书。-c++ data structure in processing Josephus source, use the template to write a linked list. Supporting Tsinghua version data structure books.