搜索资源列表
Joseph
- 约瑟夫环而且有密码设置的,可以依次输出出局的人的号码及他的密码-Joseph program,which has the password setting .
Joseph
- 这个程序是专门为演示约瑟夫环实验设计的,程序简单明了,可供分享学习。-This process is designed for demonstration of Joseph experiment , which is simple and can be shared for study .
joseph
- 实行约瑟夫环功能 有界面的 MFC vc++ 制作的 -Joseph Ring function implemented interface MFC vc++ produced
Joseph
- 约瑟夫,约瑟夫环,约瑟夫 ,数据结构!大家分享-Joseph, Joseph Wan, Joseph, Joseph, data structure! Share
Joseph
- 约瑟夫环代码 用Visio C++写的 保证可以运行 很好用-Joseph Ring with Visio C++ code written to run well with the guarantee
Joseph-Ring
- 用c语言,实现了,于瑟夫环。要到了数据结构中的链表。-With the c language to realize, in the Joseph ring. To go to the linked list data structure.
Joseph
- 约瑟夫问题解决好人与坏人问题:有n个人围成一圈,分别报数,报到为m的出列,也就是经典的约瑟夫问题。先要解决这样一个问题。围成一圈的人有k个好人,k个坏人,在进行约瑟夫问题报数时,符合在坏人没有都出列前第一个好人没有出列这样的情况的m的最小值为多少?-Joseph, good and bad problem-solving problem: there are n people form a circle, respectively, reported that the number of reg
joseph
- 约瑟夫问题如下:已知n个人(n>=1)围坐一圆桌周围,从1开始顺序编号。从序号为1的人开始报数,顺时针数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规则重复下去,直到所有人全部出列。请问最后一个出列的人的编号。 -Joseph questions are as follows: Given n individuals (n> = 1) sitting around a round table, numbered sequentially startin
Joseph
- 约瑟夫问题 使用了链表方法 n玩家数到m的人出局 找到最后胜者-Joseph problems using the list method n to m number of players to find out who the final winner
joseph
- 约瑟夫(Joseph)问题的一种描述是:编号为1,2,..., n 的n 个人按顺 时针方向围坐一圈, 每人持有一个密码(正整数)。一开始选任一个正整数作为报数上限值m, 从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将它的密码作为新的m值,再从下个人开始新一轮报数,如此反复,直到剩下最后一人则为获胜者。试设计一个程序求出出列顺序。-Joseph (Joseph) a descr iption of the problem is: numbered 1,2 ,.
JOSEPH
- 约瑟夫环Joseph ring, realize the list, circulation, everyone have a password-Joseph ring, realize the list, circulation, everyone have a password, Take turns to be eliminated, and finally only a person
Joseph
- 约瑟夫问题的解决。几个人绕一圈排队报数,报某数者退出,循环直至无人-Joseph problems. Perimeter line up several people reported that the number, the number who reported an exit, loop until no
Joseph
- 数据结构中约瑟夫问题,供初学者参考-Joseph problems in the data structure, reference for beginners. . . . . .
C-P-P--Joseph-ring
- C++动态链表实现约瑟夫圈(可自由输入任意人数,从任意人开始)-C++ dynamically linked list Joseph ring (free input any number of any person from the beginning)
CPPdata-structure-of-Joseph-ring
- 首先,设计实现约瑟夫环问题的存储结构。由于约瑟夫环本身具有循环性质,考虑采用循环链表,为了统一对表中任意节点的操作,循环链表不带头结点-Design and implementation of Joseph ring problem
joseph
- joseph问题求解,使用数据结构中的线性表实现输入n个人和n个密码,输出josoph问题序列-joseph problem solving, data structures using the linear form in the input n and n personal password, serial output josoph problem
Joseph
- 你现在所使用的是以链表为基础编写的约瑟夫环,具体功能为: 编号为1,2,......,n的n个人按照顺时针方向围坐一圈,每个人有且只有一个密码(正整数)。一开始任选一个正整数作为报数上限值,从第一个人开始顺时针方向自1开始报数,报到m时停止报数。报m 的人出列,将他的密码作为新的m值,从他在顺时针方向的下一个人开始重新报数,如此下去,直到所有人全部出列为止; 如输入整型数据:1 2 3 4 5 6,输出为2 4 3 1 5 6-You are now use the list is th
Joseph
- 约瑟夫(Joseph)问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。设计程序输出出列顺序。-Joseph circle
Joseph
- 经典的约瑟夫环问题:编号为1,2,..., n 的n 个人按顺时针方向围坐一圈, 每人持有一个密码(正整数)。一开始选任一个正整数作为报数上限值 m, 从第一个人开始按顺时针方向自1 开始顺序报数,报到 m 时停止报数。报 m 的人出列,将它的密码作为新的 m值。试设计一个程序求出出列顺序。 现已C语言实现-Classic Joseph ring problem: Numbers for 1, 2,... , n n personal clockwise sat a lap, each hold
Joseph-ring
- 解决数据结构中约瑟夫环的代码,已经调试通过-Solve data structure of Joseph ring code, have debugging through