-
求解约瑟夫问题。设有n个人围成一个圆圈坐下,对所有围从的人从某个位置开始编号为1,2,3,……,n,从编号为1的人开始报数1,报数依交进行,报数n的人即出列,下...
求解约瑟夫问题。设有n个人围成一个圆圈坐下,对所有围从的人从某个位置开始编号为1,2,3,……,n,从编号为1的人开始报数1,报数依交进行,报数n的人即出列,下一个人从1开始报数,再报数m的人便是第二个出列的人如此重复下去,直到最后一个人出列为止,于是便得到一个出列的顺序,这称之为约瑟夫(Josephu)问题。-solving problems. N individuals have formed a circle to sit down, all right Wai from the start from a position of No. 1, 2, 3, ..., n, for a number of people reported a few, according to several newspaper pay, the newspaper n ie the out, the next person was from the beginning a few , and reported m is the second out of this series continue to repeat until the final out in a series, then get a series out of order, which called Joseph (Josephu) problem.
- 2022-05-21 23:13:13下载
- 积分:1
-
高级算法里的排序讲义ppt。sorting
高级算法里的排序讲义ppt。sorting- In high-level algorithm arrangement printed lecture ppt.
Sorting
- 2022-02-11 18:40:43下载
- 积分:1
-
arithmetic functions example, an algorithm, the book store all the arithmetic fu...
算法函数实例,算法1,存放了书中所有的算法函数程序以及例子中的主函数程序-arithmetic functions example, an algorithm, the book store all the arithmetic functions procedures and examples of procedures for the main function
- 2023-06-18 02:05:04下载
- 积分:1
-
在一台机器上只能处理n个作业,每个作业均可在单位时间内完成,又假定每个作业都有一个截止期限,当且仅当作业i在它的截止期限之前完成时,可以获得一定的效益。
给...
在一台机器上只能处理n个作业,每个作业均可在单位时间内完成,又假定每个作业都有一个截止期限,当且仅当作业i在它的截止期限之前完成时,可以获得一定的效益。
给定作业序列,要求一种作业排序算法,使获得的总效益值最大。
-On a single machine can handle only n-jobs, each job can be completed within the unit, but also assumes that each job has a deadline, if and only if job i in its completed before the deadline, they can to receive some benefits.
For a given job sequence, requires a job sorting algorithm, so that the greatest value of total benefits received.
- 2022-12-08 00:45:02下载
- 积分:1
-
自动导入文件到数据库,用于那些无法实时入库,定点时间入库的需求...
自动导入文件到数据库,用于那些无法实时入库,定点时间入库的需求-Automatically import the file to the database, which can not be used for real-time storage, the demand for fixed-point storage time
- 2022-12-22 18:50:03下载
- 积分:1
-
包括数据结构中最常用的6种排序算法和相关解释,适用与严蔚敏的c语言版。...
包括数据结构中最常用的6种排序算法和相关解释,适用与严蔚敏的c语言版。-including data structure of the six most common types of algorithm and the related interpretation, application and Yan Wei Min c language version.
- 2022-06-17 00:42:52下载
- 积分:1
-
数据结构链表 创建链表,删除元素,插入元素,查找元素,检查给定的插入位置的正确性,节点移动,单链表...
数据结构链表 创建链表,删除元素,插入元素,查找元素,检查给定的插入位置的正确性,节点移动,单链表-Create a linked list data structure linked list, deleting elements, inserting elements, find elements, check to set the location of the correctness of insertion, node movement, a single list
- 2022-08-25 22:30:43下载
- 积分:1
-
MM1队列模拟
实现M/M/1单窗口无限排队系统的系统仿真,利用事件调度法实现离散事件系统 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2023-04-28 18:25:03下载
- 积分:1
-
Delphi编程┃Delphi数据库编程
Delphi编程┃Delphi数据库编程-Delphi programming highlights Delphi Database Programming
- 2022-02-02 16:37:49下载
- 积分:1
-
2-3树的数据结构以及演示程序-2-3 tree data structure and Demonstration Program
- 2022-01-26 00:29:51下载
- 积分:1