搜索资源列表
Josephus
- 数据结构经典算法,约瑟夫环的完整版实验报告,C++语言编写-Classic data structure algorithms, the report of Josephus.
Josephus
- 用C++实现Josephus约瑟夫问题,简单的小程序,供初学者参考-In C++ implementation Josephus Josephus problem, a small little program
JOSEPHUS
- 一个关于约瑟夫环问题的经典算法编程的C语言实现-the program about JOSEPHUS
JOSEPHUS
- 约瑟夫环是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。 -Josephus is the application of a mathematical problem: Given n individuals (in numbers 1,2,3 ... n, respectively) sitting around
josephus
- 约瑟夫环的实现,两种方法,数组和链表,主要实现约瑟夫环算法-Josephus the realization of two methods, arrays and linked lists. . . . . .
josephus
- 数据结构经典约瑟夫环简单实现。学生时代自己做的-Simple data structures to achieve the classic Josephus. Student to do their own
Josephus
- Josephus问题的基本实现,数据结构入门必学,简单易懂的数据结构程序-Josephus problem
josephus
- 约瑟夫问题c语言解决方法 数据结构方法解决问题-The solve of the josephus problem by c language Data structure method Solve problems
Josephus
- Josephus问题 Josephus问题-Josephus Josephus problem issues
Josephus-problem
- 约瑟夫问题 假设有n个小孩坐成一个环,假如从第一个小孩开始数,如果数到m个小孩,则该小孩离开,问最后留下的小孩是第几个小孩? -The Josephus problem.Assuming n students sit in a ring.we start count from the first student.when we count m,the student who has the number of m musts leave.wo now ask the last one s
Josephus
- 用单循环链表实现约瑟夫环,数据结构试验,c语言实现-Linked with a single cycle to achieve Josephus, the data structure test, c language
josephus
- josephus算法的C++实现,是具体数学中一种很重要的数学思维-josephus algorithm in C++, is the specific mathematics in a very important mathematical thinking
Josephus-problem-
- 据说着名犹太历史学家Josephus有过以下的故事:在罗马人占领乔塔帕特后,39 个犹 太人与Josephus及他的朋友躲到一个洞中,39个犹太人决定宁愿死也不要被敌人到,于是决定了 一个自杀方式,41个人排成一个圆圈,由第1个人开始报数,每报数到第3人该人就必须自杀, 然后再由下一个重新报数,直到所有人都自杀身亡为止。 然而Josephus 和他的朋友并不想遵从,Josephus要他的朋友先假装遵从,他将朋友与自己安排 在第16个与第31个位置,于是逃过了这场死亡游戏。
Josephus
- 约瑟夫环的C代码实现。里面还包含了具体的文档报告。对于开始学数据结构的同学们有不小的帮助。-Josephus C code. Which also contains a specific document report. No small help for the students began to learn the data structure.
josephus
- 用C语言实现josephus算法,用以实现报数问题,很好的算法啊-The C language achieve josephus algorithms to achieve the number off good algorithm
josephus.lianbiaofa
- 用循环单链表实现josephus问题,开发软件为C语言,比起向量法更有效率。-Achieve josephus problems with circular single linked list, develop software for the C language, and more efficient than the vector method.
Josephus
- 2、 约瑟夫(Josephus)环问题:编号为1,2,3,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一人开始重新从1报数,如此下去,直到所有人全部出列为止。 建立n个人的单循环链表存储结构,运行结束后,输出依次出队的人的序号。 -Josephus: The numbers 1, 2, 3, ..., of n
josephus
- C++约瑟夫问题采取链表实现任意输出 链表实现-josephus problems
Josephus
- 完成Josephus问题,实现2、 约瑟夫(Josephus)环问题:编号为1,2,3,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一人开始重新从1报数,如此下去,直到所有人全部出列为止。 建立n个人的单循环链表存储结构,运行结束后,输出依次出队的人的序号。 -finish Josephus problem
Josephus
- 有n个人围坐在一个圆桌周围,现从第s个人开始报数,数到第m的人出列,然后从出列的下一个人重新开始报数,数到第m的人又出列,…,如此反复直到所有的人全部出列为止.利用Josephus环解决此问题。-There are n personal sitting around a round table all around, from the first s personal beginning now number off, to the number of m row, then stood do