-
约瑟夫环 已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个...
约瑟夫环 已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。(有详细注解)数据结构学习的好例子-Joseph ring known n individuals (identified by serial number 1,2,3 ... n, respectively) were sitting around on a round-table. K from the number of people reported a few, a few of the m out of that person him from one of the next person to start off, a few m to another person out and so the law of repetition until around round-table All of the people out. (Detailed notes) data structure to learn a good example of
- 2023-06-20 15:30:04下载
- 积分:1
-
网上考试的实现.用asp和access边的.毕业论文
网上考试的实现.用asp和access边的.毕业论文-online examination realized. Asp and with the access edge. Thesis
- 2022-03-14 02:54:06下载
- 积分:1
-
C运行另一个程序调用sqlite
能够运行的c调用sqlite的又一个程序-程序2,适合学习sqlite-C call to run sqlite another procedure- the procedure 2, suitable for learning sqlite
- 2022-01-23 10:46:20下载
- 积分:1
-
创建一个链表,逆向输出链表,两个链表的合并的vc程序编程实现代码。...
创建一个链表,逆向输出链表,两个链表的合并的vc程序编程实现代码。-create a linked list, reverse output chain and the two combined Chain vc programming code to achieve.
- 2022-08-16 20:54:19下载
- 积分:1
-
图的相关操作:建立图,图的遍历,查找元素,删除元素等
图的相关操作:建立图,图的遍历,查找元素,删除元素等-Map-related steps: the establishment of map, graph traversal, find elements, delete elements, etc.
- 2022-01-22 04:45:46下载
- 积分:1
-
matrix inversion c procedures for the large
矩阵求逆的c++程序,用来算大规模带分数形式的逆矩阵的,文件输入-matrix inversion c procedures for the large-scale Daibanshu form of the inverse matrix, the file input
- 2022-01-25 19:53:29下载
- 积分:1
-
C++ Builder程序员学习数据结构第2章
C++ Builder程序员学习数据结构第2章-Builder C programmers to learn data structure Chapter 2
- 2022-10-04 14:45:03下载
- 积分:1
-
医院管理系统
这个医院管理系统管理病人信息、 人员信息、 商店和药品、 计费并生成报告。这个复杂的应用程序与后端数据库服务器进行通信和管理医院物流相关的所有信息。
- 2023-01-12 12:10:04下载
- 积分:1
-
编写好的VC为基础的二进制,八进制,十进制,十六进制的数值转换器,功能类似于windows的计算器中的转换功能...
编写好的VC为基础的二进制,八进制,十进制,十六进制的数值转换器,功能类似于windows的计算器中的转换功能-VC good preparation for the foundation of binary, octal, decimal, hexadecimal numerical converter, similar to the function of the windows of conversion calculator functions
- 2022-04-24 14:12:44下载
- 积分:1
-
约瑟夫问题有原始的约瑟夫和发展了的约瑟夫两种。 原始的约瑟夫的描述: 古代某法官要判决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