搜索资源列表
joseph-circle
- 经典的约瑟夫环问题,有n个人围着一张桌子报数-Joseph circle
josephus
- 约瑟夫环问题,还包括很多很多其他的小程序-Josephus also includes a lot of other small programs
josself
- 约瑟夫环问题,实现从指定位置后开始删除指定数字位的程序-Achieve Josephus
yuesefu
- 设有编号为1,2,…,n的n(n>0)个人围成一个圈,每个人持有一个密码m。从第一个人开始报数,报到m时停止报数,报m的人出圈,再从他的下一个人起重新报数,报到m时停止报数,报m的出圈,……,如此下去,直到所有人全部出圈为止。当任意给定n和m后,设计算法求n个人出圈的次序。建立模型,确定存储结构。对任意n个人,密码为m,实现约瑟夫环问题。-Has numbered 1,2, ..., n of n (n> 0) individuals in a circle, each person ho
Josephus-problem
- 该程序能够根据使用者的需要,解决约瑟夫环问题。-The program can be based on user needs,to solve Josephus problem.
Joseph-Ring
- 数据结构题集中“约瑟夫环问题”设编号为1,2,…,n(n>0)个人按顺时针方向围坐一圈,每人持有一个正整数密码。开始时任意给出一个报数上限值m,从第一个人开始顺时针方向自1起顺序报数,报到m时停止报数,抱m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人起重新自1起顺序报数;如此下去,直到所有人全部出列为止。要求设计一个程序模拟此过程,并给出出列人的编号序列-Data structure that centralized Josephus problem set num
cyuanma
- 约瑟夫环问题 数组大小写转换问题,字符串,排序问题,C语言源码 -Josephus problem arrays case conversion problem, strings, scheduling problems, C languages Source
CircleChild
- 约瑟夫环的OOP解决方案。封装两个类。通过OOP的方式进行运行。不同于面向过程编程,通过封装成Circle和Child类实现的简单约瑟夫环问题。-Josephus OOP solutions. Package two classes. Be run by way of OOP.
joseph
- 约瑟夫环(Joseph)问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从它在顺时针方向的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。试通过累的设计求解约瑟夫环问题的出列顺序。具体要求和说明如下: (1) 利用单向循环列表存储结构模拟此过程,按照出列的顺序输出个人的编号。 (2) m的初值
Joseph-ring-problem-_CPP
- 约瑟夫环问题_C++约瑟夫问题如下:已知n个人(n>=1)围坐一圆桌周围,从1开始顺序编号。从序号为1的人开始报数,顺时针数到m的那个人出列。他的下一个人又从1开始报数,数到m的那个人又出列。依此规则重复下去,直到所有人全部出列。请问最后一个出列的人的编号。-Joseph problem as follows: given n individuals (n>=1) sitting around a round table, sequence number the beginning
Circulink
- C#利用循环双向链表解决约瑟夫环问题,算法简明可读性强,是学习数据结构的优秀材料。-Using C# to solve the problem of Joseph ring cycle of two-way linked list algorithm is concise, readable, is excellent learning materials data structure.
Joseph
- 约瑟夫环问题,一群人围在一起做成环状,从某个编号开始报数,数到某个数的时候,此人出列,下一个人重新报数,一直循环,直到所有人出列,约瑟夫环结束。-Josephus problem, a group of people get together to make a ring, a number countin, count to a number of time, this person out of the line, the next person to re-report the numb
jose1
- 递推算法求解扩展约瑟夫环问题,C++源代码-Recursive algorithm for solving extended Joseph ring problem, C++ source code
yuesehuanwenti
- 约瑟夫环问题。本程序要求设编号为1-n的n(n>0)个人按顺时针方向围成一圈.首先第1个人从1开始顺时针报数.报m的人(m 为正整数).令其出列。然后再从他的下一个人开始,重新从1顺时针报数,报m的人,再令其出列。如此下去,直到圈中所有人出列为止。-Josephus problem. The procedural requirements set numbered 1-n of n (n> 0) Personal clockwise circle. First 1st person
Joseph-Central-issues
- 约瑟夫环问题简单实现,递归算法,(带注释)可以利用此算法解决栈存储的约瑟夫环问题.-Joseph Central issues, C++ source code and notes
first
- 数据结构代码,约瑟夫环问题,数组和循环链表解决-code in data structures
Joseph
- 用单链表编一个约瑟夫环问题。设编号为1,2,• • • ,n的n个人围坐一圈,约定编号为k(1≤k≤n)的人从1开始报数,数到m的那个人出列,他的下一位又从1开始报数,数到m的那个人又出列,依次类推,直到所有人出列为止,由此产生一个出队编号的序列。压缩文件里面包括了代码,运行文件,还有实验报告。-Joseph compiled a list with a single ring problem. Let numbered 1,2, n individual R
shujujiegouzonghesheji
- 数据结构中的综合大程序设计:背包问题的求解;约瑟夫环问题的求解;教学计划的编制;八皇后问题;农夫过河问题的求解-Complex data structures Programming: Knapsack Problem Joseph Central Problem teaching plans eight queens problem farmer across the river Problem
JosephusCircle
- 关于数据结构中一个有名的问题的求解,约瑟夫环问题- Data structure in a well-known problem solving, Josephus problem
Joseph-ring
- 数据结构,这个小程序主要用链表约瑟夫环问题。-The data structure,This small program mainly with the problem of Joseph ring chain table。