搜索资源列表
c++
- c++源代码,包括约瑟夫问题、万年历的实现、用C++编写通讯录、螺旋方阵的输出、分形算法和一个编程大赛试题等等。-c++ source code, including Joseph problems, the realization of calendar with C++ the preparation of contacts, the output of square spiral, fractal algorithm and a programming contest questions
yuesefu
- 约瑟夫问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,没人持有一个密码。一开始人选一个正整数作为报数上限值m,从第一个人开始按顺时针自1开始报数,报到m是停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止-A descr iption of Joseph is: No. 1,2, ..., n of n individuals according to a clockwise direction ar
yuesefu
- 实现的是对约瑟夫问题的c语言编程,实现的简单而且易懂。-Realized the problem of Joseph c language programming, to achieve the simple and easy to understand.
yuesefu
- 经典的约瑟夫问题,呵呵,大家应该很熟悉不过了 ,不过还是值得看看! -Joseph classic problem, huh, huh, we should be very familiar, but it is still worth to see!
Joseph
- 使用C++编写的解决约瑟夫问题的小程序.-The use of C++ Prepared to resolve the issue of Joseph applet.
josephus
- 成功的解决了约瑟夫问题,对于学习了解约瑟夫问题的程序员很有帮助!-Joseph successfully solved the problem, for students learning to understand the issues programmers Joseph helpful!
Jose
- 约瑟夫问题。能够实现最基本的约瑟夫问题操作-Joseph problems. To achieve the most basic problem operate Joseph
Josephu
- C++解决约瑟夫问题 教学或者自学均可使用 简单方便-C++ solve the problem of teaching or self-Joseph can be used to facilitate easy
Josephus
- 约瑟夫问题C++求解 以及KMP算法的C++实现-Joseph C++ problem solving as well as the KMP algorithm for C++ implementation
Joseph
- 本程序主要是约瑟夫问题。输入为总人数,然后分别输入每人的密码,最后输入第一次报数的上限。输出则是按出列的先后顺序输出编号。 实例 输入为 7 3 1 7 2 4 8 4 6 则对应输出为6 1 4 7 2 3 5-This procedure is the main problem Joseph. The total number of input, and then enter the password for each, and finally enter the
yue
- 本程序针对约瑟夫问题的描述:编号为12,……n的n个人按顺时针方向围成一圈,每人持有一个密码(正整数),一开始任选一个正整数作为报数上限值m,从第一个人开始按顺序时针方向自1开始顺序报数,报道m时停止报数,报m的人处列将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。利用单向循环链表存储结构模拟此过程,按照出列的顺序印出各人的编号。 演示程序以用户和计算机的对话方式执行,即在计算机终端上显示“提示信息”下,用户输入循环人数n和每人的密码。
yuesefu
- 一个比较简单的算法来解决约瑟夫问题,需要的请下载-A relatively simple algorithm to solve the problem, Joseph, please download the required
yuesefuwenti
- 约瑟夫问题是个典型的C问题。采用C程序编译,简单易懂,欢迎下载。-yuesefuwenti
123
- 约瑟夫问题 编号为1,2,3,…,n的n个人按顺序针方向围坐一张圆桌旁,每个人手中持有 一个密码(正整数)。首先输入一个正整数作为报数上限值m,然后,从第一个人开始按顺序针方向自1开始顺序报数,报到m的人离开桌子,并将他手中的密码作为新的m值,从顺序针方向的下一个就坐在桌旁的人开始重新从1报数,如此下去,直至所有人全部离开桌旁为止。-Joseph issues numbered 1,2,3, ..., n of the n individuals in accordance with t
CircList
- 这是个环链表,能够用以解决约瑟夫问题等类似问题,在其他方面也有应用。-it can be used to solve the problems similar to Joesph problem
Joseph
- 对约瑟夫问题的求解,适用于初学者熟悉数组函数-Solving the problem of Joseph, for beginners familiar with the array function
Josephissues
- 求解约瑟夫问题:猴子选大王:设有n个猴子围坐一圈,编号为1到n ,从1号开始报数,数到m的猴子出列;下一个猴子又从1开始报数,数到m 的猴子又出列,依次类推,直到最后一个便是大王。要求输出出列顺序,分别以n=30,m=7;n=7,m=30运行程序,检查结果是否正确。-Solving the issue of Joseph: King of the monkeys selected: with a monkey n around a circle, numbered 1 to n, from th
yuesefu
- 基于VC++的约瑟夫问题分析有代码有图片可以运行 -VC++ based on the analysis of Joseph pictures code can run
YUESEFU
- 约瑟夫问题的求解,利用单循环链表存贮结构模拟,按照出列的顺序打印出各个人的编号。
ds[1].tar
- 数据结构中链的链表的应用,约瑟夫问题,皇后问题等十个数据结构常见问题的程序 -Data structure in the linked list chain applications, the issue of Joseph, 10 Queen' s data structure, etc. The program Frequently Asked Questions