搜索资源列表
joseph
- 用链表解决约瑟夫问题。 约瑟夫环是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。 其中包括一个实验报告,介绍了编程思路和输出结果截图。-List to resolve Joseph. Josephus is the application of a mathematical problem: Given n in
Joseph
- 经典问题约瑟夫环,c循环解法,简单明了。-The classic problem Josephus, c cycle solution, straightforward
Jose
- 实现约瑟夫环的程序。采用C语言编译。是数据结构的题目。参考严蔚敏-Joseph ring to achieve the program. Using C language compiler. Is the subject of the data structure. Reference YAN Wei-min
huan
- 约瑟夫环问题的代码。设有N个人围坐一圈,从某个人开始报数,数到M的人出列,接着从出列的下一个人开始重新报数,数到M的人又出列,如此下去,直到所有人都出列为止.试设计确定他们的出列次序序列的程序。-Joseph cycle problem code. With N individuals sitting around a circle, starting from the one person reported the number of people who count the column M
yuesefu
- 用C写的约瑟夫环的代码 可以帮助你进一步认识约瑟夫环-Josephus code written in C can help you further understand Josephus
jiami_Android
- android上实现文本加密解密。基于约瑟夫环出环序列的到一个混沌序列加解密。-android on text encryption and decryption. Josephus ring sequence to a chaotic sequence encryption and decryption. android on text encryption and decryption. Josephus ring sequence to a chaotic sequence encrypt
Josephus
- 约瑟夫环是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。-Josephus is the application of a mathematical problem: Given n individuals (numbered 1, 2, 3, ... n, respectively) sitting around a
jonsef
- 约瑟夫环设置了一个结构体变量用来保存数据,c代码-Josephus set up a structure variable to store the data, c code
Josephus-Problem
- 约瑟夫环...一个链表运用的经典案例,自己写的..还算简洁,希望大家给与指导-Joseph ring ... a classic case of linked lists use to write their own .. pretty simple, I hope you give guidance
Josephus
- 约瑟夫环的问题 用链表来实现的 可以输入人数 退出的号和从第几个人开始计数-Josephus linked list, you can enter the number of exit number and start counting from the first few people
Josephus
- 使用C#编写的约瑟夫环的程序,配合严蔚敏版的《数据结构》中的实习1.2,有界面,运行于.Net 4.0的环境下。-The Josephus program written in C# with Yan Wei-min version of the data structure in the internship 1.2 interface running on Net 4.0 environment.
xiaocai
- Joseph环 编号是1,2,……,n的n个人按照顺时针方向围坐一圈,每个人只有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个仍开始顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向的下一个人开始重新从1报数,如此下去,直到所有人全部出列为止。设计一个程序来求出出列顺序。 设计要求: 设计一个程序,以人机交互的方式执行,用户指定约瑟夫环游戏的总人数n和初始的报数上限m,然后输入每个人所持有的密码key。模拟约瑟
Josephus
- 简单的约瑟夫环和复杂的约瑟夫环问题的代码。-Simple Joseph ring and complex Joseph ring problem code
ConsoleApplication1
- 数据结构思密达 约瑟夫环思密达 链表的基本实现思密达-The linked list data structure thinking the secret Dayuesefu ring Smecta basic Smecta
Yuesefu
- 基于C语言实现约瑟夫环的问题,运用了链表插入的方法。-Josephus problem based on the C language, the use of a linked list insertion method.
yuese
- 约瑟夫环—数据结构 C++Joseph ring - data structure -Joseph ring- data structure C++ Joseph ring- data structure
Josephus
- 应用模板类编写的约瑟夫环求解程序。涉及类、循环链表的使用。-A solution of Josephus ring,written by C++.Involving template class,Circle linklist.
Josephus
- 约瑟夫环问题:设编号为1,2,3,……,n的n(n>0)个人按顺时针方向围坐一圈,每个人持有一个正整数密码。开始时任选一个正整数做为报数上限m,从第一个人开始顺时针方向自1起顺序报数,报到m是停止报数,报m的人出列,将他的密码作为新的m值,从他的下一个人开始重新从1报数。如此下去,直到所有人全部出列为止。令n最大值取30。要求设计一个程序模拟此过程,求出出列编号序列-Josephus problem: Let numbered 1, 2, 3, ...... n n (n> 0) i
jos
- 约瑟夫环出列问题,古罗马竞技场选择幸存者不杀头经典问题-Josepth problem s solution....eh very very very good
JOSEPHUS
- 约瑟夫环问题的实际场景。已知n个人围坐在圆桌周围,从编号k的人开始报数,数到m的那个人出列,依次下去,直至全部出列。采用的解决方法是典型的循环链表的数据结构。-Josephus actual scene. Given n people sitting around the round table, starting from the number k reported number, the number to m the man out of the line, and go on, unti