Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - josephus
Search - josephus - List
自己编写的josephus问题c++程序,不够完善之处大家一起学习
Date : 2008-10-13 Size : 6.76kb User : zhangmin

利用josephus问题的实现了解类及其函数的使用.了解面向对象的编程思想
Date : 2008-10-13 Size : 14.93kb User : xieyixin

Josephus算法,约瑟夫问题利用数组结构进行解决;C++源码;
Date : 2008-10-13 Size : 816byte User : yangjun

Josephus算法。
Date : 2008-10-13 Size : 1.89kb User : aa

这是一个Josephus问题的C++代码,用双向链表实现.有问题题请联系ho1983xx@tom.com (2005-5-22,VC,1KB,下载0次)【向站长举报此文件和某个同类文件可能重复】-This a C++ code about Josephus problem, and use two-way chain form to realize.If you have any problem, please contact ho1983xx@tom.com
Date : 2008-10-13 Size : 2.36kb User : zdw

一、需求分析 (1)、以结构体变量linklist表示利用单循环链表建立的Josephus环变量。其中num表示链表中的元素号码,也即Josephus环问题中成员的号数。next表示指向下一个结点的地址指针。 (2)、人数n,每次出列人号数m,开始时的人的号数s均可设定。 (3)、按给定的数据输出Josephus环问题的解,把每次出列的人的号数输出到屏幕上 (4)、测试数据以n=8,m=4,s=1为例,则执行结果为:
Date : 2010-12-15 Size : 945byte User : 1204565418@qq.com

这是一个Josephus问题的C++代码,用双向链表实现.有问题题请联系ho1983xx@tom.com (2005-5-22,VC,1KB,下载0次)【向站长举报此文件和某个同类文件可能重复】-This a C++ code about Josephus problem, and use two-way chain form to realize.If you have any problem, please contact ho1983xx@tom.com
Date : 2026-01-09 Size : 2kb User : zdw

用数组解JOSEPHUS问题的程序源码,绝对没有错误-array solution with the procedures JOSEPHUS source, there is no wrong
Date : 2026-01-09 Size : 2kb User : 刘洁

用循环链表解决JOSEPHUS问题,精心制作-cyclic Chain JOSEPHUS solve problems carefully
Date : 2026-01-09 Size : 1kb User : 刘洁

自己编写的josephus问题c++程序,不够完善之处大家一起学习-I have written the question of Josephus c++ Procedures, lack of improvement in everyone learning together
Date : 2026-01-09 Size : 177kb User : zhangmin

利用josephus问题的实现了解类及其函数的使用.了解面向对象的编程思想-Realize the use of Josephus problem understanding the use of category and function. Understanding of object-oriented programming ideas
Date : 2026-01-09 Size : 232kb User : xieyixin

Josephus 问题的解答。n个孩子围成圆圈,选任一个数m,从第一个孩子开始数,数到m停止,这个孩子离开,再从第一个开始数,直到剩下一个孩子。-Josephus questions. n children surrounded the circle, selected a number of m, from the beginning of their first child a few, a few m to stop the child to leave, and then started from the first few, until the rest of a child.
Date : 2026-01-09 Size : 1kb User : renqiang

约瑟夫环 杀犯人的问题 从当前人开始数一个数 数到可以赦免 最后剩一个人被杀-Joseph Ring kill prisoners began a few from the current count to be a pardon of a person killed in the final residual
Date : 2026-01-09 Size : 1kb User :

Josephus算法,约瑟夫问题利用数组结构进行解决;C++源码;-Josephus algorithms, Joseph problems to solve using the array structure C++ Source
Date : 2026-01-09 Size : 1kb User : yangjun

Josephus算法。 -Josephus algorithm.
Date : 2026-01-09 Size : 2kb User : aa

using C++ Language to accomplish a link-list to solve the problem of Josephus.
Date : 2026-01-09 Size : 486kb User : pig

这个源码是钱能主编的C++语言学习第二版中讲述的Josephus问题的源代码-The source is the money can be edited by C++ Language learning in the second edition of Josephus about the issue of source code
Date : 2026-01-09 Size : 43kb User : 肖全

解决Josephus(约瑟夫环)问题的pascal代码-Solve the Josephus (Joseph Central) in pascal code
Date : 2026-01-09 Size : 1kb User : changjian

钱能C++教材的代码,很经典的。 Josephus的那个例子。-Money can code in C++ textbooks, very classic. Josephus example of that.
Date : 2026-01-09 Size : 65kb User : 大懒

编写一个求解Josephus问题的函数。用整数序列1, 2, 3, ……, n表示顺序围坐在圆桌周围的人。然后使用n = 9, s = 1, m = 5,以及n = 9, s = 1, m = 0,或者n = 9, s = 1, m = 10作为输入数据,检查你的程序的正 确性和健壮性。最后分析所完成算法的时间复杂度。定义JosephusCircle类,其中含完成初始化、报数出圈成 员函数、输出显示等方法。-Josephus write a problem solving function. With the sequence of integers 1, 2, 3, ... ..., n the order of sitting around the round table, said the people around. And then use n = 9, s = 1, m = 5, and n = 9, s = 1, m = 0, or n = 9, s = 1, m = 10 as input data, check the correctness of your program and robustness. Completed the final analysis, the algorithm' s time complexity. Definition JosephusCircle class, which included the completion of initialization, reported that the number of member functions of a circle, the output display and other methods.
Date : 2026-01-09 Size : 1kb User : 王宗亮
« 12 3 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.