搜索资源列表
ysfh
- 这是用C语言的编写的约瑟夫环的代码,而且是用链表编写的,开发环境是vc6.0,-This is prepared by using C language code Joseph Central, and are prepared to use linked lists, development environment are vc6.0,
yueshefuhuanwenti
- 设计求解约瑟夫环问题的出列顺序。具体的要求和说明如下: (1)利用单向循环链表存储结构模拟此过程,按照出列的顺序输出个人的编号。 (2)m的初值为20;n=7,7个人的密码依次为:3,1,7,2,4,8,4,首先m的值为6(正确的出列顺序应为:6,1,4,7,2,3,5)。 (3)程序运行后,首先要求用户指定初始报数的上限值,然后读取个人的密码。可设n<=30,此题所用的循环链表中不需要“头结点”,请注意空表和非空表的界限。 (4)将上述功能改为在顺序结构上实现。-
ysph
- 约瑟夫环,数据结构算法,挺有意思,看看,-ysphdfgfgf
123
- 约瑟夫环。。。对网上的一个程序的优化与修改。。实现的是循环链表下。。每个人不同的密码出列的问题-Joseph Central. . . On-line optimization of a procedure with the modifications. . Cycle of implementation are under the list. . Different passwords for each person listed in the question
yuesefu..doc
- 约瑟夫环问题的另外一种解法,这种解法比线性法相对复杂一些-Joseph Central questions of another kind of solution, this solution than the linear method is relatively complex
JosephRing
- 约瑟夫环,学数据结构的很值得好好研究的算法。包含实验报告。-Joseph Wan, the data structure of the study is worth a good study of algorithms. The report contains the experiment.
Joseph
- 约瑟夫环问题: 设编号为1,2,…,n的人按顺时针方向围坐一圈,每人持有一个正整数密码。开始时任意给出一个报数上限值m,从第一个人开始顺时针方向自1起顺序报数,报道m时停止报数,报m的人出列,将他的密码作为新的m值,从他的顺时针方向上的下一个人起重新自1起顺序报数;如此下去,直到所有人全部出列为止。要求设计一个程序模拟此过程,并给出出列人的编号序列。 -Joseph Central question: Let numbered 1,2, ..., n the person clockw
yuesefu
- 约瑟夫环数据结构实验报告 数据结构课程设计 包括debug和实验报告,源程序, -Joseph Central Experimental report data structures data structure including the curriculum design debug and test reports, source code,
Joseph
- 实现约瑟夫环,可以提供无限的人数来玩这个游戏。-Joseph implementation ring, can provide an unlimited number of people to play the game.
joseph
- 实现约瑟夫环编程,且过程清晰,可以看到每一步的执行情况!-Joseph Central programming implementation, and the process clear, we can see the implementation of each step!
JosephCentral(sourcecode)
- 约瑟夫环javaApplet演示程序(源码).-Joseph Central javaApplet demo (source code).
yosefu
- 链表实现约瑟夫环,输入一个环和起始位置,打印出结果。-List the achievement of Joseph Central, Central, and start to enter a location, print out the results.
JoySef
- 约瑟夫环 约瑟夫环 约瑟夫环 约瑟夫环-the circle of Joysef
d
- 约瑟夫环(Joseph)问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始人选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从它在顺时针方向的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。试设计一个程序求出出列顺序-Joseph Central (Joseph) a descr iption of the problem is: numbered 1
ysf
- 这个小程序是用c++实现的约瑟夫环问题,也属于数据结构中的经典算法-This applet is used c++ to achieve the Joseph Central problems in the data structure is a classic algorithm. . .
javalab
- java实验答案。其中包括:金额的中文大写方式 ,约瑟夫环问题,设计银行账户类及存取款操作方法,字符串练习与面向对象技术,设计学生成绩表,计算器,利用线程比较插入冒泡排序算法的好坏,使用多种方式读取文本文件。以及最后的 java中必懂的内容简介。-java experimental answer. These include: the amount of the way the Chinese capital, Joseph Central issues, the design of bank
Josephus
- 约瑟夫环(Josephus)问题:古代某法官要判决N个犯人的死刑,他有一条荒唐的法律,将犯人站成一个圆圈,从第S个人开始数起,每数到第D个犯人,就拉出来处决,然后再数D个,数到的在处决……知道剩下的最后一个可赦免。-Central Joseph (Josephus) Question: Ancient N a judge to sentence a prisoner to death, he has a ridiculous law, prisoners stand in a circle, S
JosephCircle
- 一个模拟约瑟夫环的程序,通过程序可以详细的了解约瑟夫问题。-Joseph Ring in a simulated procedure, through a detailed understanding can be the issue of Joseph.
Joseph_Central_issues
- 数据结构——约瑟夫环问题C++源代码和注释 。-Data structure- Joseph Central issues, C++ source code and notes.
Joseph
- 数据结构实习,约瑟夫环的C++实现。在VC++6.0下编译成功。-Data structure internships, Joseph Central C++ to achieve. In VC++6.0 to compile the success of the next.