-
这是我学习数据结构与算法时编的关于队列操作的程序,对学习数据结构的朋友有帮助...
这是我学习数据结构与算法时编的关于队列操作的程序,对学习数据结构的朋友有帮助-This my learning algorithm and data structure when the series of the operation of the queue on procedures for the study of the data structure to help friends! !
- 2022-01-22 01:33:55下载
- 积分:1
-
多线程进行二分排序法,递归产生新线程,每一个父线程产生两个子线程,接着父线程对两个子数组进行合并...
多线程进行二分排序法,递归产生新线程,每一个父线程产生两个子线程,接着父线程对两个子数组进行合并-Multi-thread two hours sorting method, recursive generate a new thread, each thread is a parent produces two sub-threads, then the parent thread to merge the two sub-arrays
- 2022-03-23 16:15:57下载
- 积分:1
-
求单源点最短路径算法,对一个途中各个节点和权值的设置,找出从起始点倒终结点的一条最短路径,不能够输出路径...
求单源点最短路径算法,对一个途中各个节点和权值的设置,找出从起始点倒终结点的一条最短路径,不能够输出路径
- 2022-10-06 18:00:02下载
- 积分:1
-
c++管理系统
初学自己边的一个管理系统,比较简单,发出来希望大神可以帮我改进,谢谢
- 2022-08-23 04:45:41下载
- 积分:1
-
界面美观,功能齐全,连接数据库,适合初学者
界面美观,功能齐全,连接数据库,适合初学者-Interface appearance, complete functions, connected databases, suitable for beginners
- 2022-02-03 09:15:19下载
- 积分:1
-
超市网站,数据结构,最小生成树问题。自性。
超市选址,用数据结构,求最小生成树问题。自设计算法为超市寻找一个最短路径。-Supermarket site, the data structure, and minimum spanning tree problem. Since the design of algorithms for the supermarket to find a shortest path.
- 2022-03-04 22:22:38下载
- 积分:1
-
这是利用数据结构只是写的一个宾馆客房管理小程序,可以完成基本的管理程序的功能,包括输入输出信息,输入修改记录等。...
这是利用数据结构只是写的一个宾馆客房管理小程序,可以完成基本的管理程序的功能,包括输入输出信息,输入修改记录等。-This is the use of the data structure is written in a hotel room management of small programs that can perform basic functions of management process, including the input-output information, input modify the records.
- 2022-06-12 10:42:50下载
- 积分:1
-
宾馆管理信息系统
宾馆管理信息系统-Hotels Management Information System
- 2022-02-04 23:55:41下载
- 积分:1
-
[问题描述]
将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N...
[问题描述]
将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N)
[输入]
待排序记录个数,各关键字的值。
[输出]
关键字从正负分开,正数在前
[存储结构]
待排序记录顺序存储。
[算法的基本思想]
快速排序算法每次任取一个记录的关键字为标准,将其余记录分为两组将,N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前。
#include
using namespace std
#define MAXNUM 100//设文件的最长可能长度
void sort(int* keys, const int len)//排序
-[Problem Description] N keyword to the integer sequence the entire record. keyword so that all non-negative Records with the keyword for the negative record, at least require the use of the additional space and time complexity of the algorithm is O (N) [imported] to be sort record number, The value of the keyword. [Output] keyword separate from the pluses and minuses are several former [storage structure] scheduling records to be stored sequence. [Algorithm for the basic idea] quick sort algorithm each time a record for any keyword as a standard, The remaining records will be divided into two groups, N-keyword
- 2022-03-17 21:15:57下载
- 积分:1
-
一个简单的文件系统模拟算法
一个简单的文件系统模拟算法-a simple file system simulation algorithm
- 2022-09-29 23:35:03下载
- 积分:1