搜索资源列表
约瑟夫环问题link
- 学生初学,c实现约瑟夫环(圆桌问题),算法应该不是很高效,望各位高人看了改进改进!-beginner students, c achieve Joseph Central (round table), the algorithm should not be very efficient, a person looking to improve reading improvement!
yuesefu
- 本程序采用循环单链表的算法来解决约瑟夫环问题:建立一个循环单链表,按顺序查找指定结点,找到后删除,最后打印删除的编号序列。- This procedure uses circulates Shan Lianbiao algorithm to solve the Joseph link problem: Establishes to circulate Shan Lianbiao, assigns the point accordin
Joseph
- 数据结构中经典的约瑟夫环问题的解法。-data structure classic Josephus the solution.
Chapter1_2
- 本程序的说明的较著名的约瑟夫环问题-the procedure that the more famous Joseph Loop
ysfh
- 这是数据结构中约瑟夫环问题!-This is the data structure Josephus problem!
约瑟夫环问题link
- 学生初学,c实现约瑟夫环(圆桌问题),算法应该不是很高效,望各位高人看了改进改进!-beginner students, c achieve Joseph Central (round table), the algorithm should not be very efficient, a person looking to improve reading improvement!
myJoseph
- 我的数据结构作业<约瑟夫环问题求解>,可读性很好并附有文档.cjhacker-my data structure operation
yuecefuhuan
- 实验题目 约瑟夫环 一、 实验目的 用一个循环链表来实现约瑟夫环问题 二、 实验内容 编号为1,2,……,n的n个人按顺序时针方向围坐一圈,每个人吃一个密码。一开始任选一个整数作为报数上限值m,从第一个人开始顺时针自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从它在顺时针方向上的下一个人开始重新从1报数,如此下去直到所有人全部出列。 三、 需求分析 输入m=20;n=7,7个人的
yuesefuhuan
- 本演示程序演算约瑟夫环问题,人数n应为任意的,首先应输入一个值赋给初始报数上限m,程序应能自动保存出列人的序号和将出列的人所持的密码赋给m,再次作为报数上限,如此循环,直至所有人都出列为止。-The demo program Joseph Central calculus problem, the number n should be arbitrary, we must first enter a value assigned to
Test
- 用循环链表解决约瑟夫环问题。对学习循环链表有很大帮助-By cyclic list Joseph Central problem to solve. Learning cycle has a great list to help
ldf19870326
- 一个没有错误的约瑟夫环问题的源代码,约瑟夫问题(Joseph)的一种描述方法是:编号为1,2,.......,n的n个人按顺时针方向围坐一个圈,每个人持人一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m的人出列。将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。试设计一个程序求出出列顺序。 利用单向循环链表存储结构模拟此
cpp
- 数据结构课程设计--约瑟夫环问题.有三种方法可以实现.-Data Structure Course Design- Joseph Central problems. There are three methods can be achieved.
yuesefuhuan
- 数据结构试验报告 约瑟夫环 问题描述: 约瑟夫(Joseph)问题的一种描述是:编号为1,2,,...,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从l报数,如此下去,直至所有人全部出列为止。试设计一个程序求出出列顺序。 基本要求:
yuesefuhuanwenti
- 本程序是一个对约瑟夫环问题的演示程序,详细的演示了其过程-This procedure is a demonstration of the issue of Joseph Central procedures, detailed presentation of its process
YueSeFuHuan
- C++编的数据结构问题,关于约瑟夫环问题。经典问题。-C++ Allocated data structure, on the issue of Joseph Central. Classic problem.
ShuJuJieGouKeChengSheJi
- 数据结构课程设计报告。包含两个问题,约瑟夫环和停车场管理。-Data structure report of the curriculum design. Contains two issues, Joseph Central and car park management.
Josephus
- java的经典example——在java中用链表解决约瑟夫环问题~-solve Josephus problem in java
josph
- 约瑟夫环问题,采用不带头结点的单链表,进行操作-Joseph Central problem, do not take the lead in adopting single-linked list node, to operate
yusefuhuan
- 利用java编程实现了约瑟夫环问题,提供源码,编译通过。-Java programming using the Joseph Central to provide source code, the compiler through.
约瑟夫环问题
- 编号为1,2,…,n的n个人按顺时针方向围坐在一张圆桌周围,每人持有一个密码(正整数)。一 开始任选一个正整数m作为报数上限值,从第一个人开始按顺时针方向自1开始报数,报到m时停止报数,报m的那 个人出列,将他的密码作为新的m值,从他顺时针方向的下一个人开始重新从1报数,数到m的那个人又出列;如 此下去,直至圆桌周围的人全部出列为止。要求按出列顺序输出n个人的编号。