搜索资源列表
0base-agorithm(3)
- 零基础C++算法编程3,包括约瑟夫环、括号匹配、鸡兔共笼等简单算法的代码-Zero-based C++ programming algorithm 3, including Josephus, bracket matching, chicken, rabbit cage and other simple comm
yuesefuhuan
- vs2012的c++编写的高效简练的约瑟夫环代码,运用的循环链表-Concise and efficient Joseph ring code vs2012 of c++ prepared using a circular list
DataStructureExe-Joseph
- 约瑟夫环的实现,使用无头结点的循环链表,接收数值并输出编号-A easy solution to Joseph question
josephus
- 约瑟夫环(约瑟夫问题)是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。通常解决这类问题时我们把编号从0~n-1,最后[1] 结果+1即为原问题的解。-josephus ring
Josephus-circle
- 上海交大电子工程系数据结构作业之一:约瑟夫环-Electronic Engineering, Shanghai Jiaotong University, one of the data structure of the job: Joseph Central
DS_TEST1
- 数据结构代码合集:包括约瑟夫环、逆置单链表、合并顺序链表以及求交集。绝对原创代码。-Collection of data structure of the code include: Josephus, set against the single list, order list and merge the intersection. Absolutely original code.
josephus
- 约瑟夫环具体算法,也就是俗称的土匪杀人算法-Josephus specific algorithm, also known as bandits kill algorithm
Joseph.cpp
- 一个小游戏,约瑟夫环的源代码。其中可以更改参与人数,或者改成从文件中传入数据,以快速获取多个结果。-A small game- Joseph Central source code.
met
- 经典约瑟夫环游戏,系统随机生成每个人的密码,输入开始的数字,从第一个开始报数,报到目标数字被淘汰,并将其密码作为新的目标报数,直至所有人被淘汰,输出淘汰顺序-Josephus classic game system randomly generated each person' s password, enter a start number, starting with the first message number, report target figures to be elimi
JosephCircle
- 约瑟夫环(约瑟夫问题)是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列-Josephus (Josephus problem) is the application of a mathematical problem: Given n individuals (identified by serial number 1,2
Koseph-ring
- 本程序的说明的较著名的约瑟夫环问题,不错-The instructions of the program is famous Joseph ring problem, is good
rieg
- 用C语言编写的约瑟夫环等问题,用链式存储实现!-Joseph ring written in C language, with chain store!
Java
- 约瑟夫环的实现,打印一个字符串,十进制转换成二进制-The implementation of the Joseph Ring, prints a string that converts the decimal into binary
irdsz
- 线性表的应用(约瑟夫环),好像好多人在找就上传一个,不错的源码-The application of the linear table (Joseph ring), like so many people looking for uploading a, good source
JOSEPHUS
- 约瑟夫环问题源代码 约瑟夫环(约瑟夫问题)是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列 他的下一个人又从1开始报数,数到m的那个人又出列 依此规律重复下去,直到圆桌周围的人全部出列。通常解决这类问题时我们把编号从0~n-1,最后结果+1即为原问题的解。-Joseph ring problem source code Joseph s ring (Joseph s problem) is a mathem
5762187
- 约瑟夫环实验: 程序利用顺序表实现约瑟夫环,本实验是用于一个小游戏,-Joseph ring experiment program: using sequential table for Joseph ring, this experiment is used for a small game,
yrbblem
- 本程序的说明的较著名的约瑟夫环问题,不错-The instructions of the program is famous Joseph ring problem, is good
源代码
- 已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。通常解决这类问题时我们把编号从0~n-1,最后[1] 结果+1即为原问题的解。(Known n individuals (represented by numbers 1, 2, 3,..., n) sit around a round table. K from a number of pe
sanguaghJoseph
- 用C语言编写的约瑟夫环等问题,用链式存储实现!(Joseph ring written in C language, with chain store!)
约瑟夫环
- 1.输入格式:第一行为报数上限m(-2147483648<m<2147483647) 第二行为每个人的密码(在输入非整型的数据时结束,如END) 2.输出格式:按出列顺序的每个人的编号 3.程序功能:从第一个人开始沿顺时针方向报数,报到m 的人出列并将他的密码作为新的报数上限m,从已出列的下一个人开始继续沿顺时针方向报数,直到所有人出列。(1. input format: the first behavior reported that the maximum number o