搜索资源列表
3
- 数据结构中最基本的约瑟夫环问题 改程序简单明了 适合初学者使用-Data structure in the most basic question of reform procedures Joseph Central simple to use for beginners
yuesefuhuan
- 数据结构线性表的应用,实现约瑟夫环的操作。-Data structures the application of the linear form, the realization of Joseph Central operation.
Jose
- 约瑟夫问题。能够实现最基本的约瑟夫问题操作-Joseph problems. To achieve the most basic problem operate Joseph
yuesefu
- 在网上找的约瑟夫环大家一起参考-Online to find Ring of Joseph together reference
yuesefuhuan
- C#实现的约瑟夫环的问题 感兴趣的可以看一下-C# to achieve the Joseph Central questions could be of interest to look at
yuesefu
- 数据结构课程设计_约瑟夫环 使用VC编译 可以通过输入人数和初始值进行相应的炒操作-Data Structure Course Design _ Joseph Central VC compiler can use by entering the number and the initial value for the corresponding operation speculation
biaodashi
- 数据结构里的经典算法的模拟,约瑟夫环的求解等问题,以程序的形式给出-Data structure of the classical algorithm simulation, Joseph Central problem solving, etc. in order to give the form of procedures
josech
- 约瑟夫环, 任务:编号是1,2,……,n的n个人按照顺时针方向围坐一圈,每个人只有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个仍开始顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向的下一个人开始重新从1报数,如此下去,直到所有人全部出列为止。设计一个程序来求出出列顺序。 要求:利用单向循环链表存储结构模拟此过程,按照出列的顺序输出各个人的编号。 测试数据: m
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
acm
- 一道ACM的题,用数学的取余来模拟约瑟夫操作。在源程序里对这个操作有详细的注释。-The Joseph s problem is notoriously known. For those who are not familiar with the original problem: from among n people, numbered 1, 2, . . ., n, standing in circle every mth is going to be executed and only
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
JosephRing
- 约瑟夫环,学数据结构的很值得好好研究的算法。包含实验报告。-Joseph Wan, the data structure of the study is worth a good study of algorithms. The report contains the experiment.
JoySef
- 约瑟夫环 约瑟夫环 约瑟夫环 约瑟夫环-the circle of Joysef
Joseph_Central_issues
- 数据结构——约瑟夫环问题C++源代码和注释 。-Data structure- Joseph Central issues, C++ source code and notes.
123
- 约瑟夫问题 编号为1,2,3,…,n的n个人按顺序针方向围坐一张圆桌旁,每个人手中持有 一个密码(正整数)。首先输入一个正整数作为报数上限值m,然后,从第一个人开始按顺序针方向自1开始顺序报数,报到m的人离开桌子,并将他手中的密码作为新的m值,从顺序针方向的下一个就坐在桌旁的人开始重新从1报数,如此下去,直至所有人全部离开桌旁为止。-Joseph issues numbered 1,2,3, ..., n of the n individuals in accordance with t
JosephRing
- 约瑟夫环:编号为1,2,3,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选 一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止。报m的人出列, 将他的密码作为新的m值,从他在顺时针方向上的下一人开始重新从1报数,如此下去,直到所有人全部出列为 止。编程打印出列顺序。-Joseph Wan: No. 1,2,3, ..., n of n individuals according to a clockwise direct
yuesefu
- 数据结构中约瑟夫环的实验报告,包括相应的c++语言实现代码-Joseph Central data structures in the experimental reports, including the corresponding c++ language code
C_some_algorithms
- c,c++的一些算法,包括八皇后问题,约瑟夫环的算法,十字链表等等。-c, c++ some algorithms, including eight queen problem, the algorithm Joseph Central, Cross, etc. list.
jose
- Jose,及约瑟夫算法的实现,是一个很好的数据结构算法-Jose