-
约瑟夫问题有原始的约瑟夫和发展了的约瑟夫两种。 原始的约瑟夫的描述: 古代某法官要判决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
-
完成输入图,然后进行图的深度优先遍历
完成输入图,然后进行图的深度优先遍历-Complete the input map, and then proceed to map the depth-first traversal
- 2022-02-05 12:59:49下载
- 积分:1
-
数据库编程 数据库编程
数据库编程 数据库编程 -database
- 2022-01-25 23:46:37下载
- 积分:1
-
Java写的部分数据结构源码
Java写的部分数据结构源码-Written in Java source code part of the data structure
- 2022-06-02 17:30:30下载
- 积分:1
-
trainreset:有许多列车需要开车出站的作用。
TrainReset:there are many trains need to drive out of the station .In terms of their numbers from small to large.There are only three railways used to place the trains ,and also need the same order.-TrainReset : there are many trains need to drive out of the sta tion. In terms of their numbers from small to deviation ge.There are only three railways used to place t he trains, and also need the same order.
- 2022-07-14 05:15:14下载
- 积分:1
-
PowerBuilder 开发应用实例中关于阴历转阳历计算的源代码
PowerBuilder 开发应用实例中关于阴历转阳历计算的源代码-PowerBuilder to develop applications on the lunar calendar to calculate the solar calendar source code
- 2022-07-25 12:04:00下载
- 积分:1
-
SQLServer的例子
Visual Studio中在连接到SQL Server数据库2012年的例子。数据被显示在一个网格。网格包含连击DATE类型的字段。
- 2022-01-27 21:48:21下载
- 积分:1
-
生成图文并茂的word文档
生成图文并茂的word文档-Generation illustrated word document
- 2022-08-23 09:10:44下载
- 积分:1
-
数据结构演示(tc版)
数据结构演示(tc版)-data structure demo (tc version)
- 2022-04-07 19:45:14下载
- 积分:1
-
房地产房地产
Editor 的检讨后,你会得到 0 10 CF 硬币。您的源代码,你会得到更多的 CF 硬币质量越好。请仔细填写以下各节。
- 2022-01-31 12:08:37下载
- 积分:1