-
用KRUSKAL算法求最短路径,可以运行C++源程序
用KRUSKAL算法求最短路径,可以运行C++源程序-KRUSKAL algorithm used for the shortest path, you can run C++ source code
- 2022-01-24 13:45:34下载
- 积分: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
-
经曲的字符串匹配模糊搜索算法
思想不是本人的,但程序是本人编写的...
经曲的字符串匹配模糊搜索算法
思想不是本人的,但程序是本人编写的-By the song
- 2022-05-08 01:05:57下载
- 积分:1
-
严蔚敏编写的《数据结构》第6章的答案,全部为源码
严蔚敏编写的《数据结构》第6章的答案,全部为源码-the answers of chapter 6 of a book called ‘Data Structures’ writen by Yan Wei Min
- 2022-10-03 12:50:03下载
- 积分:1
-
复杂的VB OPC自动化的例子
Complex VB OPC Automation Example
- 2022-01-25 21:04:57下载
- 积分:1
-
一个用MFC编写的家庭财务管理系统.采用了Sqlserver数据库.压缩包中已包括了所需的数据库文件.可直接附加到SQL服务器....
一个用MFC编写的家庭财务管理系统.采用了Sqlserver数据库.压缩包中已包括了所需的数据库文件.可直接附加到SQL服务器.-Using MFC to prepare a family financial management system. Using sqlserver database. Compressed package includes the necessary database files. Can be directly attached to the SQL server.
- 2023-03-28 15:15:03下载
- 积分:1
-
CResultSet 连接数据库并进行必要的数据操作!
CResultSet 连接数据库并进行必要的数据操作!-CResultSet Link AccessDatabase!
- 2022-03-26 07:47:22下载
- 积分:1
-
数据结构里的dfs算法,包括递归与非递归。用vc6.0编写
数据结构里的dfs算法,包括递归与非递归。用vc6.0编写-data structure, the dfs algorithms, including recursive and non- recursive. Prepared with vc6.0
- 2022-01-21 23:50:04下载
- 积分:1
-
创建一个链表,逆向输出链表,两个链表的合并的vc程序编程实现代码。...
创建一个链表,逆向输出链表,两个链表的合并的vc程序编程实现代码。-create a linked list, reverse output chain and the two combined Chain vc programming code to achieve.
- 2022-08-16 20:54:19下载
- 积分:1
-
用VB sql2000 做的一个学生信息管理系统
用VB sql2000 做的一个学生信息管理系统-VB sql2000 to do with a student information management system
- 2022-07-17 04:35:20下载
- 积分:1