-
求解约瑟夫问题。设有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
-
编程实现出圈问题。是上《数据结构》时候的一次实习的成果。...
编程实现出圈问题。是上《数据结构》时候的一次实习的成果。-Programming problem to achieve a circle. It s a program produced during learning data structure
- 2022-03-11 09:00:17下载
- 积分:1
-
本程序实现了哈希表的基本功能,以及一些附带的附属功能,可以作为数据结构的演示程序...
本程序实现了哈希表的基本功能,以及一些附带的附属功能,可以作为数据结构的演示程序-the procedures of the hash table to achieve the basic functions, as well as some fringe subsidiary function, can be used as a data structure Demonstration Program
- 2022-01-31 08:31:44下载
- 积分:1
-
输入以字符串,依顺序表存储,查找一个元素,删除一个元素...
输入以字符串,依顺序表存储,查找一个元素,删除一个元素-Input to a string, depending on the order of tables to store, find an element, delete an element
- 2022-02-05 12:29:55下载
- 积分:1
-
Bottom
自底向上排序:思想: 将数组的个部分,两两有序数组进行合并
算法平均时间复杂度: O(nlogn)
-Bottom-up sequencing: thinking: The array of parts 22 in an orderly array merge algorithm for the average time complexity: O (nlogn)
- 2022-03-24 22:35:09下载
- 积分:1
-
非常实用的查询工具,具有多项操作功能,有兴趣的可以下载使用...
非常实用的查询工具,具有多项操作功能,有兴趣的可以下载使用-Very useful query tool with a number of operating functions, are interested in can be downloaded using the
- 2023-04-14 15:15:04下载
- 积分:1
-
使VC连接数据库变的更简单
使VC连接数据库变的更简单-VC connect to the database so that a simple change
- 2022-05-14 13:37:38下载
- 积分:1
-
A*算法只要求产生问题的全部状态空间的部分结点及关系,就可以求解问题了,搜索效率较高。当然由于A*算法中没有回溯,因此某些情况下可能会找不到正确的解过程。...
A*算法只要求产生问题的全部状态空间的部分结点及关系,就可以求解问题了,搜索效率较高。当然由于A*算法中没有回溯,因此某些情况下可能会找不到正确的解过程。
-A* algorithm only requires a problem all part of the state space and the relationship between nodes, we can solve the problem, the search more efficient. Of course, as a result of A* algorithm is not retroactive, so some cases may be unable to find the correct solution of the process.
- 2022-01-26 07:51:35下载
- 积分:1
-
backtracking algorithm maze problem
回溯算法迷宫问题-VB代码是回溯算法非常经典的例子。可以做游戏做简单的参考
- 2022-01-25 17:04:24下载
- 积分:1
-
用电管理,用ftp编的源程序,小改一下就可以用了
用电管理,用ftp编的源程序,小改一下就可以用了-electricity management, use ftp addendum to the source, small change can use this!
- 2022-01-26 07:34:19下载
- 积分:1