搜索资源列表
Josephus-Problem
- 约瑟夫问题(Josephus Problem)据说著名犹太历史学家 Josephus有过以下的故事:在罗马人占领乔塔帕特后,39 个犹太人与Josephus及他的朋友躲到一个洞中,39个犹太人决定宁愿死也不要被敌人到,于是决定了一个自杀方式,41个人排成一个圆圈,由第1个人开始报数,每报数到第3人该人就必须自杀,然后再由下一个重新报数,直到所有人都自杀身亡为止。 然而Josephus 和他的朋友并不想遵从,Josephus要他的朋友先假装遵从,他将朋友与自己安排在第16个与第31个位置,于是逃过
C-Program-examples
- 河内塔 费式数列 巴斯卡三角形 三色棋 老鼠走迷官(一) 老鼠走迷官(二) 骑士走棋盘 八个皇后 八枚银币 生命游戏 字串核对 双色、三色河内塔 背包问题(Knapsack Problem) 数、运算 蒙地卡罗法求 PI Eratosthenes筛选求质数 超长整数运算(大数运算) 长 PI 最大公因数、最小公倍数、因式分解 完美数 阿姆斯壮数 最大访客数 中序式转
yuesefu
- 用循环链表实现约瑟夫问题 数据结构相关的 对于新学者还是可以有用的-Joseph issues circular linked list data structure can be useful for new scholars or
yuese
- 约瑟夫环—数据结构 C++Joseph ring - data structure -Joseph ring- data structure C++ Joseph ring- data structure
main
- 利用C++语言,实现了约瑟夫算法,输入人数,开始的序号,以及间隔数,得出最终获胜的人的序号-Using c++, the program gets the winner of the Josef game
Joseph
- 利用循环链表实现约瑟夫问题的求解 数据结构-Joseph problem solving circular list
Docs
- C++大量的学习资料,练习题,对C++学习者会有很大的帮助,c++类,约瑟夫问题,函数重载,字符串查找,用C++遍历目录,浅谈C++的构造函数,-lot of learning C++ materials, exercises, right C++ learners will be very helpful, c++ category, Joseph problems, function overloading, string search, use C++ directory travers
Data-Structure-Lab
- 约瑟夫问题 C语言实现 数据结构实验 还少那 不是吧 你妹的-Joseph C language data structure problem experiment it is also less than that of your sister
Josephus
- Josephus环,解决约瑟夫环问题的执行过程-Josephus ring
JesephRing
- 约瑟夫环上机报告,设计一个程序模拟过程,并给出出列人的编号序列.-Josephus reports on the machine
The-problem-of-Joseph
- 关于约瑟夫问题的C语言编写程序,这个在课程设计中估计用得到-Joseph C language programming on the issue, this estimate used to get in curriculum design
yue-se-fu-huan
- 用c语言详细描述了约瑟夫环,感兴趣的可以看下,很不错。-C language with a detailed descr iption of Josephus, interested can look very good.
Joseph(new)
- 用伪链表实现约瑟夫环,其中的密码用的不是随机数,可以自行设置。-Joseph ring with pseudo list, the password is not used random number, you can set up their own.
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
v
- 用C语言解决约瑟夫斯环问题,利用循环语句,且注意不是从第一个人报起。-Josephus ring with C language to solve the problem, the use of loop, and attention is not reported to play the first person.
Joseph
- 1. 约瑟夫(Joseph)问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。试设计一个程序求出出列顺序。 2. 演示程序以用户和计算机的对话方式进行,即在计算机终端上显示“提示信息”之后,由用户在键盘上输入演示程序中规定的运算命令
新建文件夹
- 包含了线性表、栈、队列、二叉树、查找排序等多个内容,还实现了约瑟夫斯问题。(It includes many contents such as linear table, stack, queue, two fork tree, search sort and so on. The Josephus problem is also realized.)