搜索资源列表
shujujiegou
- 高级数据结构-K路归并、两个线性表合并、亲戚问题、食物链问题、约瑟夫问题、最大连续子序列-Advanced data structures-K road merge, merge two linear tables, relatives problem, the food chain problem, Joseph problem, the maximum contiguous subsequence
The-problem-of-Joseph
- 关于约瑟夫问题的C语言编写程序,这个在课程设计中估计用得到-Joseph C language programming on the issue, this estimate used to get in curriculum design
joseph
- 首先,认识并了解著名的约瑟夫问题:已知n个人(n>=1)围坐一圆桌周围,从1号开始顺序编号。从序号为1号的人开始报数,顺时针数到m的那个人出列:他的下一个人又从1开始报数,数到m的那个人又出列;依此规则一直重复下去,直到所有人全部出列,要求:求出最后一个出列人的编号。 本程序运用VC++ 6.0开发工具,利用MFC框架构造一个基于对话框的应用程序,用户根据对话框的界面提示,了解约瑟夫问题,并且在对话框上键入总人数(n) 和出列数(m) 。由编辑框输出结果,结果显示为最后一个出列人的
Joseph
- 约瑟夫问题 这是17世纪的法国数学家加斯帕在《数目的游戏问题》中讲的一个故事:15个教徒和15 个非教徒在深海上遇险,必须将一半的人投入海中,其余的人才能幸免于难,于是想了一个办法:30个人围成一圆圈,从第一个人开始依次报数,每数到第九个人就将他扔入大海,如此循环进行直到仅余15个人为止。问怎样排法,才能使每次投入大海的都是非教徒。-Joseph problem which is the 17th-century French mathematician Gaspard is a story
staticLinkstruct_josephus
- 用静态链表结构解决约瑟夫问题,这是数据结构中的一个重要部分-The solution of the Joseph problem with static linked list structure, which is an important part in data structure
LinkStruct_josephus
- 用链表结构解决约瑟夫问题,这是数据结构中的一个重要部分-The solution of the Joseph problem with chain structure, which is an important part in data structure
ArrayStruct_josephus
- 用顺序结构解决约瑟夫问题,这是数据结构中的一个重要部分-The solution of the Joseph problem with the order structure, which is an important part in data structure
Joseph-problem-solving
- 这是一个<数据结构(C语言版本)>约瑟夫问题求解的一个小程序.-This is a <data structure (C language version)> Joseph problem solving a small program.
Josephus
- 用简短的代码解决约瑟夫问题,只是我上传的第一段代码,请笑纳。-solve the Josephus problem with currency. It is short but I am sincerely.
josering
- 约瑟夫问题的C++实现。解决了圆桌问题。可以随意输入人数,和间隔人数。最后输出很明确。-Joseph c++ implementation of the problem.Can solve the problem of the round table.To input the number, the number and interval.The final output is very clear.
Joseph-cyclic-monkeys
- 约瑟夫问题是个有名的问题:N个人围成一圈,从第一个开始报数,第M个将被杀掉,最后剩下一个,其余人都将被杀掉。例如N=6,M=5,被杀掉的顺序是:5,4,6,2,3,1。-Joseph problem is a well-known problem: N personal circle, starting the first reported number of M will be killed first, the last remaining one, the rest will be ki
mathCode.tar
- 实现了一些常用的数学算法,包括一些经典的问题,比如素数环,约瑟夫问题等-Achieve some common mathematical algorithms, including some classic problems, such as prime ring, Joseph problems
Joseph
- 约瑟夫问题JAVA源码.1.找到第一个报数的孩子 2.开始数m个数 3.删掉这个点 4.指向下一个点-Joseph JAVA source .1 find the problem first reported that the number of children 2. began to count the number m 3. delete this point 4. point to the next point
yusefuxiangjieban
- 约瑟夫问题详解版本已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。通常解决这类问题时我们把编号从0~n-1,最后结果+1即为原问题的解。-Joseph Detailed versions of known issues n individuals (with numbers 1,2,3 ... n, respectively) sitting
Joseph_problem_solving_circular_list
- 使用循环链表这种数据结构,来解决约瑟夫问题。-Use a circular linked list data structure to solve the problem of Joseph.
joseph
- 代码用优化算法解决了经典约瑟夫问题,算法复杂度为o(n),并且附有算法分析和说明文档。-Code with a simple algorithm to solve the classic problem of Joseph
jose
- 用C++语言实现的约瑟夫问题,主要采用链表结构,可以自己输入总人数以及存活的间隔。-Joseph problem with C++ language, the main use of the list structure, you can enter your own survival as well as the total number of intervals.
Josephu
- 约瑟夫问题:编号为1,2,...n的n个人围坐一圈,约定编号为k的人从1开始报数,数到m的那个人出列,它的下一位又从1报数,数到m的那个人又出列,知道最后所有人都出列,由此产生一个出队编号的序列-Joseph problem: numbered 1,2, ... n individuals sitting around a circle of n, k who agreed numbered starting 1 reported that the number, the number to
joephs-problem
- 本程序是中国科学技术大学数据结构的上机作业,本人亲自编写并调试通过,主要使用链表求解约瑟夫问题。-This program is on the machine operation University of Science and Technology of China data structures, personally written and debugged, the main use of the list Joseph problem solving.
jose
- 约瑟夫环(约瑟夫问题)是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。通常解决这类问题时我们把编号从0~n-1,最后结果+1即为原问题的解。 -Josephus (Josephus problem) is the application of a mathematical problem: Given n indi