-
约瑟夫问题有原始的约瑟夫和发展了的约瑟夫两种。 原始的约瑟夫的描述: 古代某法官要判决N个犯人的死刑,他有一条荒唐的法律,将犯人站成一个圆圈,从第S个人开始数起...
约瑟夫问题有原始的约瑟夫和发展了的约瑟夫两种。 原始的约瑟夫的描述: 古代某法官要判决N个犯人的死刑,他有一条荒唐的法律,将犯人站成一个圆圈,从第S个人开始数起,每数到第D个犯人,就拉出来处决,然后再数D个,数到的人再处决―――直到剩下的最后一个可赦免。 发展的约瑟夫的描述: 古代某法官要判决N个犯人的死刑,但这N个人每人持有一个密码,他有一条荒唐的法律,将犯人站成一个圆圈,法官先给出一个密码M,从第S个人开始数起,每数到第M个犯人,就拉出来处决,再根据这个人所持有的密码F,然后再数F个,数到的人再处决,以此类推―――直到剩下的最后一个可赦免。-Joseph problems have original development of the Joseph and Joseph two. The original Joseph Description : Ancient a judge to sentence N inmates of the death penalty, he is a ridiculous law, prisoners station into a circle, from S began a few individuals, every few months to D prisoners, pull out executions, then D, the number of people to be re-executed--- until the last one left to be pardoned. The development of the Joseph Description : Ancient a judge to sentence N inmates of the death penalty, but each individual N holders a password, he is a ridiculous law, prisoners station into a circle, the judges first gave a password M, S individuals from the beginning of several, each of the first few inmates M , pull hi
- 2022-03-11 16:54:39下载
- 积分:1
-
C++ Builder程序员学习数据结构第6章
C++ Builder程序员学习数据结构第6章-Builder C programmers to learn data structure Chapter 6
- 2022-11-21 19:50:03下载
- 积分:1
-
data structure used to achieve basic algorithm to achieve C bus services managem...
用数据结构实现基本算法 用C++实现车务管理,需用到栈基本数据结构-data structure used to achieve basic algorithm to achieve C bus services management, needed to stack the basic data structure
- 2022-01-22 07:19:08下载
- 积分:1
-
C++写的归并排序算法,非递归,简单高效
C++写的归并排序算法,非递归,简单高效-the nonrecursive code of mergesort
- 2022-05-24 21:16:45下载
- 积分:1
-
共有4个数据结构的实例
共有4个数据结构的实例-a total of four examples of the data structure
- 2022-03-15 21:41:38下载
- 积分:1
-
ADO访问手术
ado and access operatiion
such as insert delet update -ado and access operatiionsuch as insert delet update
- 2023-08-14 09:45:03下载
- 积分:1
-
C#中,应用程序与数据库access的链接解释
C#中,应用程序与数据库access的链接解释-C#, applications and database access links to explain the
- 2022-07-09 06:23:46下载
- 积分:1
-
全能探针
站长在线版空间探针程序精华包 v0.01 说明:支持PHP,ASP,ASP.NET,IIS,JSP,CGI等类程序环境检测,方便站长朋友选购主机参考。探针程序版权归各自作者所有。将此探针包上传至空间,打开index.html即可显示本页面。
- 2022-03-18 10:08:57下载
- 积分:1
-
矩阵运算
Matrix operations
solution of AX=B
Jordan and newton Methods
- 2022-03-03 02:05:43下载
- 积分:1
-
对二叉树结构作了清晰而简易的演示,可以帮助要了解二叉树结构和基本算法的人加深认识。可用VC直接编译运行。...
对二叉树结构作了清晰而简易的演示,可以帮助要了解二叉树结构和基本算法的人加深认识。可用VC直接编译运行。-On the binary tree structure was clear and simple presentation can help to understand the binary tree structure and the people a better understanding of the basic algorithm. VC can be used directly to compile run.
- 2023-01-23 21:10:03下载
- 积分:1