-
设有n个人站成一圈,每个人持有一个密码(正整数)。现从第t个人开始,按顺时针方向“1,2,3,4,…”循环报数,数到m1(第t个人所持密码)的人出列,然后从出列...
设有n个人站成一圈,每个人持有一个密码(正整数)。现从第t个人开始,按顺时针方向“1,2,3,4,…”循环报数,数到m1(第t个人所持密码)的人出列,然后从出列者的下一个人重新开始报数,数到m2(刚出列者所持密码)的人又出列,如此重复进行,直到n个人都出列为止。-something like Joseph problem
- 2023-03-09 16:15:03下载
- 积分:1
-
depth search algorithm, solved from the point of origin j s close of the shortes...
深度搜索算法,求解从起源点s到点j的最短路径算法的基本过程-depth search algorithm, solved from the point of origin j s close of the shortest path algorithm for the basic process
- 2023-07-28 16:45:02下载
- 积分:1
-
在线订单系统,有SQL数据库,欢迎下载!
在线订单系统,有SQL数据库,欢迎下载!-On-line order system, with SQL databases, welcome to download!
- 2022-04-17 17:54:13下载
- 积分:1
-
closest point of the problem, realizing the partition method, random number gene...
最接近点对问题,分治法实现,随机生成N个数寻找最短路径的两个点-closest point of the problem, realizing the partition method, random number generation N to find the shortest path to the two points
- 2022-07-13 00:33:28下载
- 积分:1
-
K路归并算法,用贪心算法构造霍夫曼树,采用加入虚节点的思想求出最优的归并模式...
K路归并算法,用贪心算法构造霍夫曼树,采用加入虚节点的思想求出最优的归并模式-K Road, merge algorithm, greedy algorithm using Huffman tree constructed using the idea of adding virtual nodes to derive the optimal merging pattern
- 2022-04-21 22:46:18下载
- 积分:1
-
Memory Decoder
Memory Decoder
- 2022-03-25 05:30:59下载
- 积分:1
-
数据库操作功能类,包括添加,修改,删除等操作。直接调用就可以。
数据库操作功能类,包括添加,修改,删除等操作。直接调用就可以。-Database operations functional categories, including add, modify, delete, etc. operations. Can be called directly.
- 2023-04-26 17:05:04下载
- 积分:1
-
Sort
排序程序,包含快速排序、归并排序、谢尔排序、插入排序。输出了比较次数和移动次数。(It is a sort program, including quick sort, merge sort, shell sort and insert sort.It outputs the compare times and movement times.)
- 2009-05-24 18:53:10下载
- 积分:1
-
数据结构(C++版)的演示程序,详细演示深度优先搜索的具体调用过程,...
数据结构(C++版)的演示程序,详细演示深度优先搜索的具体调用过程,-data structure (C++ version) demonstration program, a detailed demonstration of the depth-first search to the specific call process,
- 2022-03-21 07:11:56下载
- 积分:1
-
用C++写的寻找公共祖先,实现树的先序后序中序层次遍历,内有实验报告可以参阅。...
用C++写的寻找公共祖先,实现树的先序后序中序层次遍历,内有实验报告可以参阅。-C wrote for the public ancestors, the first realization of the tree sequence after sequence traversal sequence level, there are experimental report can be found.
- 2022-03-06 21:06:58下载
- 积分:1