-
约瑟夫问题有原始的约瑟夫和发展了的约瑟夫两种。 原始的约瑟夫的描述: 古代某法官要判决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
-
topological sorting, data structure of the operations.
拓扑排序,数据结构的作业。-topological sorting, data structure of the operations.
- 2022-02-02 03:01:54下载
- 积分:1
-
高级复制维护注意点
高级复制维护注意点- High-level duplication maintenance limelight
- 2022-07-14 21:48:20下载
- 积分:1
-
下面是本人做的一个关于菜单的程序,其中对菜单的各种改变采用了重画技术.....
下面是本人做的一个关于菜单的程序,其中对菜单的各种改变采用了重画技术..
-Below is the one I do on the menu of procedures, which on the menu to change the re-drawing of the technology ..
- 2022-02-15 18:11:31下载
- 积分:1
-
根据贪心算法,来求解最小生成树;
这种情况,可能求不不全局最优解,但是,可以求出当前情况下的最优解;...
根据贪心算法,来求解最小生成树;
这种情况,可能求不不全局最优解,但是,可以求出当前情况下的最优解;-According to greedy algorithm to solve the minimum spanning tree this situation, it may not seek the global optimal solution is not, however, you can find the optimal solution under the current situation
- 2023-05-29 18:05:03下载
- 积分:1
-
这是一个生成全排列的程序,采用最小变化算法,相邻两个序列之间只有两个数的次序不同,每交换两个数,便形成一个新的序列,速度非常快....
这是一个生成全排列的程序,采用最小变化算法,相邻两个序列之间只有两个数的次序不同,每交换两个数,便形成一个新的序列,速度非常快.-This is a whole generation with a procedure using the smallest change algorithm sequence between two adjacent only two of several different order every two exchanged a few, it will lead to a new series, very fast.
- 2022-12-18 06:35:03下载
- 积分:1
-
推箱子状态空间搜索,慢慢研究吧。分支限界法,采用优先队列实现...
推箱子状态空间搜索,慢慢研究吧。分支限界法,采用优先队列实现-tuixiangzi
- 2022-02-01 17:00:12下载
- 积分:1
-
数据结构1800例题与答案 我想对大学生很有用啊
数据结构1800例题与答案 我想对大学生很有用啊-data structure with 1,800 examples, I would like to answer students useful ah
- 2022-03-31 22:44:52下载
- 积分:1
-
ADO dynamic link with various heterogeneous database query data generation inser...
用ADO 动态连接各种异构数据库查询数据生成sql插入insert语句。-ADO dynamic link with various heterogeneous database query data generation insert insert sql statement.
- 2023-03-16 02:10:03下载
- 积分:1
-
关于数据库管理的项目
一个学生管理系统的常见功能是支持个人的维护和研究信息与有关的一名学生。下面的源代码和例子用于在 Java 中的学生管理系统。
在项目文件部分中列出的源代码和包含在此项目中的文件,请确保列出的源代码,该代码是否满足您的需要那里
- 2022-02-11 14:59:27下载
- 积分:1