-
约瑟夫问题有原始的约瑟夫和发展了的约瑟夫两种。 原始的约瑟夫的描述: 古代某法官要判决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
-
Source code, is a java implementation to compare with the clarity and the first...
源代码,是java实现的,比较清晰和第一部分一起的-Source code, is a java implementation to compare with the clarity and the first part of the
- 2022-04-30 03:43:20下载
- 积分:1
-
中缀表达式转后缀表达式然后计算结果
C How to Program 第12章课后练习题12,13题,可以计算多位整数,+,-,×,/,%以及求幂运算
- 2022-02-19 23:12:53下载
- 积分:1
-
PB9.0生成的图书管理系统,该系统包含读者管理和图书管理两部分,能完成图书借阅的基本功能。后缀为db的是数据库文件...
PB9.0生成的图书管理系统,该系统包含读者管理和图书管理两部分,能完成图书借阅的基本功能。后缀为db的是数据库文件-PB9.0 generated library management system, which includes management and library management readers in two parts, to complete the basic functions of books to borrow. Db suffix to the database file
- 2023-05-11 12:00:03下载
- 积分:1
-
用链表求300的阶乘,并且返回链表节点的个数.
用链表求300的阶乘,并且返回链表节点的个数.-used for the factorial 300, and returned to the linked list node number.
- 2022-03-17 21:47:18下载
- 积分:1
-
魔鬼的语言翻译,严伟
魔王语言翻译,严蔚敏数据结构实习报告中需要用到的代码-Devil language translation, YAN Wei-Min internship report data structure of the code needed
- 2022-04-22 20:56:54下载
- 积分:1
-
大整数的四则运算,搞ACM时丰常常用,我当时是屡试不爽,传上来大家分享...
大整数的四则运算,搞ACM时丰常常用,我当时是屡试不爽,传上来大家分享-Large integer arithmetic, ACM engaged in abundance are often used when, I was applied successfully, Chuan-up to share
- 2022-11-23 15:25:04下载
- 积分:1
-
数据结构中最小生成树的C语言实现源代码,需要的可以下载,只适用于初学者。...
数据结构中最小生成树的C语言实现源代码,需要的可以下载,只适用于初学者。-Minimum spanning tree data structure in the C language source code, need can be downloaded, only applies to beginners.
- 2023-07-24 15:45:02下载
- 积分:1
-
哈夫曼压缩编码的例子,真的不是平常的课程设计那么垃圾的东东,还是有价值的...
哈夫曼压缩编码的例子,真的不是平常的课程设计那么垃圾的东东,还是有价值的-haffman compress
- 2022-06-15 09:56:44下载
- 积分:1
-
严蔚敏老师的数据结构专贴。考研的朋友要好好看哦 是内部资料啊...
严蔚敏老师的数据结构专贴。考研的朋友要好好看哦 是内部资料啊-Yan Wei Min teacher posted a data structure. Graduates to make good friends FACT internal information ah
- 2022-01-28 07:26:06下载
- 积分:1