-
求解约瑟夫问题。设有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
-
类模板,助于参考及编写代码,代码以数据结构值的排序方式及链表操作为主....
类模板,助于参考及编写代码,代码以数据结构值的排序方式及链表操作为主.
-Class template, reference and help to write code, the code value to the data structure and linked list Sort-based operation.
- 2022-03-05 19:39:25下载
- 积分:1
-
是基于C#语言的一个学生管理系统数据库系统开发案例.很实用...
是基于C#语言的一个学生管理系统数据库系统开发案例.很实用-Is based on the C# Language a student management system database system development case. Very practical
- 2022-01-24 18:52:32下载
- 积分:1
-
马周游问题代码,走日字形的马在 一个棋盘
马周游问题代码,走日字形的马在 一个棋盘-Ma tour problem code
- 2022-08-24 20:45:57下载
- 积分:1
-
数据结构中的快速排序算法演示及其相关算法源码
数据结构中的快速排序算法演示及其相关算法源码-data structure of the Quicksort algorithm and demonstrated correlation algorithm source code
- 2022-01-25 14:29:46下载
- 积分:1
-
在编译、运行程序之前,请将所附的数据库文件rms.mdb导入SQL server中,并将此数据库命名为RMS。具体操作步骤可以参见书中这一章的相关小节。若没有安...
在编译、运行程序之前,请将所附的数据库文件rms.mdb导入SQL server中,并将此数据库命名为RMS。具体操作步骤可以参见书中这一章的相关小节。若没有安装SQL server,也可以直接在控制面板中将此数据库文件设置为数据源,并命名为MyDS。注意,若数据库没有安装成功,MS Visual Studio在打开工程文件的时候将会报错,但忽略之后不影响程序的正常编译。-In the compiler, before running the program, please rms.mdb attached database file into SQL server and will be named this database RMS. Specific steps can see the relevance of the book section of this chapter. If not install SQL server, can also be directly in the control panel in this database file is set to the data source named MyDS. Note that if the databases are not installed successfully, MS Visual Studio project file in the open when the error will be, but do not overlook the impact of following the normal procedures for compiling.
- 2022-01-26 03:33:39下载
- 积分:1
-
职工管理系统的源程序
职工管理系统的源程序-workers of the source management system
- 2022-01-25 22:39:42下载
- 积分:1
-
骑士漫游的改进算法,回溯算法加贪心选择策略,n最大可以到128...
骑士漫游的改进算法,回溯算法加贪心选择策略,n最大可以到128-Knight improved roaming algorithms, backtracking algorithms greedy selection strategy increases, n the greatest can go to 128
- 2022-06-19 00:15:03下载
- 积分:1
-
递归算法,字符串的倒序输出。
递归算法,字符串的倒序输出。-recursive algorithm, the reverse output string.
- 2022-03-14 23:58:39下载
- 积分:1
-
利用随机函数产生30000个随机整数,利用插入排序、起泡排序、选择排序、快速排序、堆排序、归并排序等排序方法进行排序,并统计每一种排序上机所花费的时间...
利用随机函数产生30000个随机整数,利用插入排序、起泡排序、选择排序、快速排序、堆排序、归并排序等排序方法进行排序,并统计每一种排序上机所花费的时间-Using random functions to generate 30,000 random integers, the use of insertion sort, bubbling sort, select sort, quick sort, heap sort, merge sort and other sorting methods to sort and sort each type of statistics on the time machine
- 2023-01-11 09:50:04下载
- 积分:1