搜索资源列表
6-12
- 约瑟夫问题,使用labview的公式节点实现,非常简单-use scr ipt node to calculate the Jolsef question
yuesefuhuan
- 算法实现约瑟夫环,有界面呈现,直观简洁。-Josephus algorithm, interface presentation, simple and intuitive.
11
- 用线性表的基本操作来实现约瑟夫问题 总人数及被杀死人的位置都是由用户通过键盘输入界面,最后输出显示被杀死人及最后剩下人的序号 如: 输入:10,3 输出:3 6 9 2 7 1 8 5 10 4-Linear form the basic operation to achieve Joseph and the total number of questions the position of the dead were killed by the user
Joseph
- 编程实现了约瑟夫环的编程,代码易懂,功能强大,对初学者具有很大的用处。-Programming the Josephus programming, code easy to understand, powerful, great use for beginners.
Josephus-
- 约瑟夫问题是个有名的问题:N个人围成一圈,从第一个开始报数,第M个将被杀掉,最后剩下一个,其余人都将被杀掉。例如N=6,M=5,被杀掉的人的序号为5,4,6,2,3。最后剩下1号。 假定在圈子里前K个为好人,后K个为坏人,你的任务是确定这样的最少M,使得所有的坏人在第一个好人之前被杀掉。-Josephus problem is a well-known problem: N personal circle, starting from the first report the number
josephus
- 用循环链求解约瑟夫问题,gnu gcc compiler in codeblocks-use circle link list to solve the problem of Josephus
Josephus-
- 约瑟夫环,经典的数据结构问题,适合初学者研究,用C#语言-Josephus, the classic problem of data structures, suitable for beginners, using C# language
yuesefuhuan
- 约瑟夫环的C语言实现,华为上机测试题。用链表实现-Josephus C language, Huawei-on test questions. List realize
Josephus
- 约瑟夫问题是个有名的问题:N个人围成一圈,从第一个开始报数,第M个将被杀掉,最后剩下一个,其余人都将被杀掉。例如N=6,M=5,被杀掉的人的序号为5,4,6,2,3。最后剩下1号-Joseph is a famous problems: N individuals in a circle, starting from the first number off, the first M will be killed, the last one, the others will be killed.
yuesefu
- c语言实现约瑟夫环,用的循环单链表。输入成员总数n(1-n)以及开始编号k,从编号k开始报数到(out=k)出列,然后out=出列的编号,继续重复下去。-c language Josephus, the cycle of a single linked list.
ring
- 约瑟夫环问题,可用于数据结构练习和作业使用-Josephus, the data structure can be used for exercises and operations using
Josephus
- Josephus环,解决约瑟夫环问题的执行过程-Josephus ring
joseph
- 数据结构课上编的解决约瑟夫环问题的程序。-Class data structure to solve Josephus compiled the program in question.
Josephus
- 数据结构课程设计,实现以下问题:约瑟夫(Josephus)环问题:编号为1,2,3,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一人开始重新从1报数,如此下去,直到所有人全部出列为止。 建立n个人的单循环链表存储结构,运行结束后,输出依次出队的人的序号。-Data structure curriculum desig
game
- 约瑟夫问题变形和实现。在visual 2010下的C++/ClI下编写的,在界面上设置游戏人数和开始游戏者,程序自动扔塞子并显示赢家。-Joseph deformation and implementation issues. In visual 2010 under C++/ClI prepared, set on the interface number and start the game by game, the program automatically throw the plug
circular-linked-list-Josephus
- 约瑟夫环问题 【问题描述】 Josephus排列问题定义如下:假设n个竞赛者排成一个环形。给定一个正整数m≤n,从第1人开始,沿环计数,第m人出列。这个过程一直进行到所有人都出列为止。最后出列者为优胜者。全部出列次序定义了1,2,…n的一个排列。称为(n,m)Josephus排列。例如,(7,3)Josephus排列为3,6,2,7,5,1,4。 【实验要求】 设计求解Josephus排列问题程序。 (1)采用顺序表、单链表或双向循环链表等数据结构。 (2)采用双向循环
Joseph
- 约瑟夫环关于数据结构作业,可以当做参考,注释详细-Joseph if you have learn struct ,you may use it
Josephus-Data-Structures
- 约瑟夫环的数据结构的实现 比较简单 适合初学者-Josephus data structure is relatively simple for beginners
joseph
- 约瑟夫环问题 c++解决带有个人密码的约瑟夫环问题-Josephus problem is solved with a personal password Josephus
Joseph
- 约瑟夫环的数组实现 编号为1,2,3......,n的人按顺时针方向围坐一圈,每人持有一个密码,一开始任选一个正整数作为报数上限m,从第一个人开始按顺时针方向自一开始报数,报到m时停止,报m的人出列,将他的密码作为新的m值,从他的顺时针方向上的下一个人重新从1报数,如此下去,直到所有人出列-Josephus arrays and structures to achieve