-
xmail 邮件程序案例
xmail 邮件程序案例-mail procedures DCS case
- 2023-08-06 22:15:04下载
- 积分:1
-
Gray code code code Gray can choose the number, written in VB, good interface
格雷码的代码,能选择格雷码的个数,用VB写的,界面良好-Gray code code code Gray can choose the number, written in VB, good interface
- 2022-07-21 03:33:12下载
- 积分:1
-
C#读写数据库
数据库读写的代码,能够访问ACCESS数据库,自动创建,并具有筛选功能,需要用户名匹配才能修改,撤销修改等功能!
- 2022-05-24 18:45:35下载
- 积分:1
-
list容器源代码
应用背景
它实现的是一个可存储各种类型数据的链表,可用于数据的交换、存储、分析前的存储和排序。
关键技术使用C++ 类的特性编写的一个类似标准STL的容器“链表”,可以实现对任何类型的数据操作,使用了迭代器、类模板等,来简化链表的使用,有泛型编程的一些东西。
- 2022-02-04 14:18:06下载
- 积分:1
-
栈的应用-表达式求值2
栈的应用-表达式求值2 ..............................................................................................................................................................................
- 2023-03-28 02:05:04下载
- 积分:1
-
tree data structure source code
树的数据结构源代码-tree data structure source code
- 2022-04-24 00:57:22下载
- 积分:1
-
c程序各种经典算法
c程序各种经典算法-various classical algorithm
- 2022-03-04 17:12:52下载
- 积分:1
-
elsewhere When a red tiger diary source code
别处找来的红虎日记源代码-elsewhere When a red tiger diary source code
- 2022-02-09 12:52:39下载
- 积分:1
-
这是一个foxpro形式的数据库,可用ODBC来存贮VC程序产生的数据。...
这是一个foxpro形式的数据库,可用ODBC来存贮VC程序产生的数据。-foxpro This is a form of databases, ODBC can be used to store the VC process data.
- 2022-03-19 08:48:40下载
- 积分: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