搜索资源列表
2_8.c
- 约瑟夫环问题 采用C语言编写 没有用链表 而是用数组实现-Josephus problem using C language does not use chain instead of the array to achieve
josep
- Josephus排列问题定义如下:假设n个竞赛者排成一个环形。给定一个正整数m,从某个指定的第一个人开始,沿环计数,每遇到第m个人就让其出列,且计数继续进行下去。这个过程一直到所有的人都出列为止。最后出列都优胜者。每个人出列的次序定义了整数1,2,...,n的一个排列。这个排列称为一个(n,m)Josephus排列。例如,(7,3)Josephus排列为3,6,2,7,5,1,4.对于给定的1,2,...n中的k个数,Josephus想知道是否存在一个正整数m(n,m)Josephus排列的最后
Josephus
- josephus问题源代码,c++ ,供大家参考,简明实用,大家可以借鉴使用。
Josephus
- 约瑟夫问题的C语言程序,基本实现其功能,可以输入N个人数,进行结果计算输出
Josephus
- Josephus小算法,自己下载吧。希望有用呀!~-Josephus algorithm download. Seek to help! ~
Josephus
- 约瑟夫环问题 数据结构经典算法 链表实现-Josephus problem
jonsef
- 约瑟夫环设置了一个结构体变量用来保存数据,c代码-Josephus set up a structure variable to store the data, c code
joseph
- 约瑟夫问题(有时也称为约瑟夫斯置换,是一个出现在计算机科学和数学中的问题。在计算机编程的算法中,类似问题又称为约瑟夫环。又称“丢手绢问题”)。-Joseph problems (sometimes called Josephus replacement, is an appearance in computer science and mathematics problems in computer programming algorithm, similar problems also kno
Josephus-Data-Structures
- 约瑟夫环的数据结构的实现 比较简单 适合初学者-Josephus data structure is relatively simple for beginners
0base-agorithm(3)
- 零基础C++算法编程3,包括约瑟夫环、括号匹配、鸡兔共笼等简单算法的代码-Zero-based C++ programming algorithm 3, including Josephus, bracket matching, chicken, rabbit cage and other simple comm
