搜索资源列表
Two-way-Joseph-problems
- 经典算法问题-双向约瑟夫问题,c语言版,代码详细,可运行-Classic algorithmic problems- bidirectional Joseph, c language version of the code in detail, you can run
joseph
- 约瑟夫环:由约瑟夫环的游戏规则可知,在游戏中,我们需要输入的是总人数n值、一开始选的上限值m和每个人手中所持的密码值cipher。这些数都应该是正整数,且n小于等于30,若输入的是小于等于0的数,应该提醒输入有误。用scanf()函数实现输入操作,空格、回车或者Tab键位输入结束标志。 在程序根据输入的数据运行之后,按顺序输出出列人的编号num,用printf()函数实现。 程序执行的命令包括:①构造结构体;②链表动态内存申请;③逐个插入链表结点并储存结点内容;④形成循环链表;⑤删除结点
jsf
- 运用链表实现约瑟夫环,数据结构用,供大家参考。-Josephus using linked list implementation, data structures, for your reference.
Joseph
- 用c语言单项循环链表实现了约瑟夫环 约瑟夫问题的一种描述是-Single circular linked list using c language to achieve Josephus Josephus is a descr iption of the problem
shiyan2lianbiao
- 数据结构实验二,使用链表方式解决约瑟夫问题-Experiment two data structures, the use of linked lists to resolve the problem of Joseph
Josephus
- 用C++实现约瑟夫环,由用户动态输入密码。有实验报告。-With C++ achieve Josephus, by the users enter a password. Experimental report.
joseph
- 数据结构,约瑟夫环问题。这是大一的数据结构作业,在V6.0下运行流畅无错误-Data structures, Josephus. This is the first year the data structure operations run smoothly without errors in V6.0
B2
- 使用C++编写的用于描述约瑟夫算法的程序,解决环形约瑟夫问题-Use C++ written procedures used to describe Joseph algorithm to solve the problem of the annular Joseph
YueSeFu
- 约瑟夫环,循环链表,数据结构实验,经测试能使用,DEV C++调试-Josephus, circular linked list data structure experiments have been tested to use, DEV C++ debugging
Joseph
- 解决约瑟夫问题的一个小程序。一群猴子围成一个圈,从其中一个猴子开始报数,先规定一个数,数到这个数的猴子出列,下一个猴子继续报数,数到这个数的猴子就出列,直到全部猴子都出列为止,求猴子出列的顺序。-Joseph problems to solve a small program. A group of monkeys in a circle, from one of the monkeys reported the number of first specify a number, the num
2012IE_03031201_2012300689
- 约瑟夫问题 这是17世纪的法国数学家加斯帕在《数目的游戏问题》中讲的一个故事:15个教徒和15 个非教徒在深海上遇险,必须将一半的人投入海中,其余的人才能幸免于难,于是想了一个办法:30个人围成一圆圈,从第一个人开始依次报数,每数到第九个人就将他扔入大海,如此循环进行直到仅余15个人为止。问怎样排法,才能使每次投入大海的都是非教徒。 含C语言大报告-Josephus problem which is the 17th-century French mathematician Gaspar
josephus_clist
- 约瑟夫环的小算法,很简单,适合新手使用!-Josephus small algorithm is very simple, suitable for beginners to use!
Josephus
- 约瑟夫环是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。-Josephus is a mathematical application problems: Given n individuals (with numbers 1,2,3 ... n, respectively) were sitting at a roun
6-12
- 约瑟夫问题,使用labview的公式节点实现,非常简单-use scr ipt node to calculate the Jolsef question
josephus
- 用循环链求解约瑟夫问题,gnu gcc compiler in codeblocks-use circle link list to solve the problem of Josephus
yuesefuhuan
- 约瑟夫环的C语言实现,华为上机测试题。用链表实现-Josephus C language, Huawei-on test questions. List realize
Josephus
- 约瑟夫问题是个有名的问题:N个人围成一圈,从第一个开始报数,第M个将被杀掉,最后剩下一个,其余人都将被杀掉。例如N=6,M=5,被杀掉的人的序号为5,4,6,2,3。最后剩下1号-Joseph is a famous problems: N individuals in a circle, starting from the first number off, the first M will be killed, the last one, the others will be killed.
ring
- 约瑟夫环问题,可用于数据结构练习和作业使用-Josephus, the data structure can be used for exercises and operations using
shiyan1
- 约瑟夫斯问题求解(约瑟夫斯(Josephus)问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向下一个人开始重新从1报数,如此下去,直至所有的人全部出列为止。试设计一个程序,按出列顺序印出各人编号。)本程序就是解决上述问题-Josephus Problem Solving (Josephus (Jose
joseph
- 约瑟夫环问题,想学习的可以看看,很不错的-Joseph ring problem, want to learn can see, very good