-
约瑟夫问题有原始的约瑟夫和发展了的约瑟夫两种。 原始的约瑟夫的描述: 古代某法官要判决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
-
UML建模 学生通讯信息管理系统
信息管理系统能够为用户提供充足的信息和快捷的查询手段,是当今信息交流不可缺少的部分。学生通讯信息管理系统是为了便于毕业后的同学之间的联系,方便好久没联系的同学能快速准确的找到所查同学的联系方式和地址,是一款为同学们的交流带来方便的工具。本系统的参与者主要包括两方面:用户、管理员、系统数据库
- 2022-07-10 23:14:49下载
- 积分:1
-
staff of the Information Management System
教职工信息管理系统-staff of the Information Management System
- 2023-04-07 10:50:03下载
- 积分:1
-
几种常用排序算法的效率比较,通过测试可得出这几种排序算法的优劣....
几种常用排序算法的效率比较,通过测试可得出这几种排序算法的优劣.-several commonly used algorithm efficiency comparison, the test may come this algorithm several merits.
- 2022-03-15 07:57:19下载
- 积分:1
-
C++双向链表
利用c++写的双向链表操作,有头插入,尾插入,中间寻找“朋友“的方式插入,适合简单数据结构分析
- 2023-08-10 06:55:03下载
- 积分:1
-
酒店管理系统
酒店,酒店管理系统,第一眼就有是没有直接的关系和通信系统,但语音通信系统,作为非常重要的方式来使用这一行业中的服务位置已经很特别,早期和简单的酒店管理,其中包括三个部分的内容: 检查-中 ( 登录),检查 (签出),电话服务。与社会的发展,客户,酒店对酒店服务质量的要求继续增加和现代计算机管理、 宾馆、 酒店管理概论并逐渐演变成一个集合的许多服务的一个全面、
- 2022-03-02 12:39:58下载
- 积分:1
-
a recruitment management system
一个招聘管理系统-a recruitment management system
- 2022-03-02 12:43:29下载
- 积分:1
-
这是一个关于打印技术的的源码,通过access数据库将数据打印到我们的所需清单上...
这是一个关于打印技术的的源码,通过access数据库将数据打印到我们的所需清单上-This is a print technology on the source, access the database through the data required for printing to our list
- 2023-01-14 05:00:03下载
- 积分:1
-
约瑟夫环
设编号为1,2,···,n的n个人围坐一圈,约定编号为k(1≤k≤n)的人从1开始报数,数到m的那个人出列,他的下一位又从1开始报数,数到m的那个人又出列,依次类推,直到所有人出列为止,由此产生一个出队编号的序列。
- 2022-04-16 22:57:11下载
- 积分:1
-
traverse the depth map, using binary tree realize that the importation of binary...
图的深度遍历,用二叉树实现,输入时要遵循二叉树的顶点和边数的对应关系-traverse the depth map, using binary tree realize that the importation of binary tree to be followed when the number of vertices and edges of the relationship
- 2022-04-25 12:17:04下载
- 积分:1