CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - josephus
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
assembly language
SCSI-ASPI
ELanguage
Disk Tools
Speech/Voice recognition/combine
Editor
Anti-virus
MultiLanguage
MPI
source in ebook
Delphi VCL
OS Develop
MiddleWare
MacOS develop
LabView
e-language
python
Search - josephus - List
[
Other
]
2Josephus
DL : 0
这是一个用microsoft VC++写的关于josephus问题的算法-using microsoft VC + + Josephus wrote on the algorithm
Date
: 2008-10-13
Size
: 8.3kb
User
:
吴此仁
[
Other
]
Josephus算法
DL : 0
用JAVA写的一个小算法! 实现了出局的人数小于循环的人数~!·-using Java to write a small algorithm! Achieved less than the number out of circulation ~!
Date
: 2008-10-13
Size
: 1.27kb
User
:
Alan
[
Other
]
yuesefuhuanwenti
DL : 0
约瑟夫环问题。从这个程序可以学习到结构体的应用及指针的应用,当然还有算法了-Josephus problem. This procedure can learn the structure of the application and the target application and, of course, the algorithm
Date
: 2008-10-13
Size
: 1.4kb
User
:
hxj1984
[
Other
]
ysfh1
DL : 0
约瑟夫环 数据结构算法啊 这学期学的 这是我们的上机实验作业 -Josephus algorithm data structure ah this semester of this school is on the experimental aircraft operations huh
Date
: 2008-10-13
Size
: 39.43kb
User
:
cool
[
Other
]
Jphus
DL : 0
对于给定的1,2,…,n 中的k 个数,Josephus 想知道是否存在一个正整数m 使得 (n,m)Josephus 排列的最后k 个数恰为事先指定的这k 个数。-given for the 1,2, ..., n and k the number, Josephus would like to know whether there is a positive integer m such that (n, m) Josephus with the final k and the number of pre-specified number k this.
Date
: 2008-10-13
Size
: 4.19kb
User
:
小吴
[
Other
]
yuecefuhuan
DL : 0
实验题目 约瑟夫环 一、 实验目的 用一个循环链表来实现约瑟夫环问题 二、 实验内容 编号为1,2,……,n的n个人按顺序时针方向围坐一圈,每个人吃一个密码。一开始任选一个整数作为报数上限值m,从第一个人开始顺时针自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从它在顺时针方向上的下一个人开始重新从1报数,如此下去直到所有人全部出列。 三、 需求分析 输入m=20;n=7,7个人的密码依次是:3,1,7,2,4,8,4,出列顺序为:6,1,4,7,2,3,5。 -experiment a subject Josephus, the experiment used a cycle chain to achieve Joseph Central 2. Experiment No. 1, 2, ..., n, n personal sequential anti-clockwise direction sitting around a circle and each person eating a password. An optional began as a whole reported a few limits on m, started from the first clockwise from the beginning of a sequence of several reported, m report reportedly stopped a few. M reported from the series of his password as a new value m, from it in a clockwise direction for the next re-started from a few reported that more until the total of all out. 3, needs analysis input m = 20; N = 7,7 personal password in order, are : 3,1,7,2,4,8. 4 out out in chronological order : 6,1,4,7,2,3,5.
Date
: 2008-10-13
Size
: 8.05kb
User
:
李爱春
[
Other
]
josephus
DL : 0
数据结构实验(循环链表josephus问题) 学会选择合适的数据结构来解决实际问题 学会如何创建一个循环链表在循环链表中如何进行查找在循环链表中如何进行删除
Date
: 2008-10-13
Size
: 2.2kb
User
:
凤夜雅
[
Other
]
JosephusRing
DL : 0
约瑟夫环问题(Josephus),用户输入M,N值,从1至N开始顺序循环数数,每数到M输出该数值,直至全部输出。由于当某个人退出圆圈后,报数的工作要从下一个人开始继续,剩下的人仍然是围成一个圆圈的,可以使用循环表,由于退出圆圈的工作对应着表中结点的删除操作,对于这种删除操作频繁的情况,选用效率较高的链表结构,为了程序指针每一次都指向一个具体的代表一个人的结点而不需要判断,链表不带头结点。所以,对于所有人围成的圆圈所对应的数据结构采用一个不带头结点的循环链表来描述。设头指针为p,并根据具体情况移动。 为了记录退出的人的先后顺序,采用一个顺序表进行存储。程序结束后再输出依次退出的人的编号顺序。由于只记录各个结点的number值就可以,所以定义一个整型一维数组。如:int quit[n] n为一个根据实际问题定义的一个足够大的整数。
Date
: 2008-10-13
Size
: 1.74kb
User
:
金瑶
[
Other
]
Josephus
DL : 0
Josephus问题的array实现方式
Date
: 2008-10-13
Size
: 6.24kb
User
:
江枫
[
Other
]
Josephus
DL : 0
Josephus的实验,用C语言解决这个问题,内含C语言全码
Date
: 2008-10-13
Size
: 8.26kb
User
:
陈陈
[
Other
]
Algorithm
DL : 0
c++经典小程序。包括河内塔 费式数列 巴斯卡三角形 三色棋 老鼠走迷官(一) 老鼠走迷官(二) 骑士走棋盘 八个皇后 八枚银币 生命游戏 字串核对 双色、三色河内塔 背包问题(Knapsack Problem) 数、运算 蒙地卡罗法求 PI Eratosthenes筛选求质数 超长整数运算(大数运算) 长 PI 最大公因数、最小公倍数、因式分解 完美数 阿姆斯壮数 最大访客数 中序式转后序式(前序式) 后序式的运算 关于赌博 洗扑克牌(乱数排列) Craps赌博游戏 约瑟夫问题(Josephus Problem) 集合问题 排列组合 格雷码(Gray Code) 产生可能的集合 m元素集合的n个元素子集 数字拆解 排序 得分排行 选择、插入、气泡排序 Shell 排序法 - 改良的插入排序 Shaker 排序法 - 改良的气泡排序 Heap 排序法 - 改良的选择排序 快速排序法等
Date
: 2008-10-13
Size
: 440.26kb
User
:
sunny
[
Other
]
josephus
DL : 0
循环链表实现的约瑟夫环,主要语言是c语言,已运行通过仅供参考
Date
: 2008-10-13
Size
: 1.29kb
User
:
牧野叶子
[
Other
]
Ho_Josephus
DL : 0
这是一个Josephus问题的C++代码,用双向链表实现.有问题题请联系ho1983xx@tom.com-This is a question of Josephus C code used to achieve two-way linked list. As a matter please contact ho1983xx@tom.com
Date
: 2008-10-13
Size
: 1.1kb
User
:
阿木
[
Other
]
exjosephttttt
DL : 0
这是一个关于数据结构中约瑟夫环的程序,不用我说只要是上过这门课的同学就应该知道他的用处了。-This is a data structure on Josephus procedures, as long as I do not have to say yes on this course students should know his useless.
Date
: 2008-10-13
Size
: 7.01kb
User
:
袁伟
[
Other
]
Josephus问题的顺序表实现
DL : 0
Josephus问题的顺序表实现 关于Josephus问题的顺序表实现-Josephus table in the order of Josephus achieve in the order table to achieve
Date
: 2008-10-13
Size
: 2.38kb
User
:
张杰楷
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.