-
vfp编写的简单计数器.可以轻松实现计数,清零等功能
vfp编写的简单计数器.可以轻松实现计数,清零等功能 -Probe preparation of simple counters. Easily count, reset function
- 2022-05-28 13:33:24下载
- 积分:1
-
ACCESS的源程序
ACCESS的源程序-code of access
- 2022-01-23 10:10:37下载
- 积分:1
-
数据结构(严蔚敏)的试验指导书籍,非常方便的一本书
数据结构(严蔚敏)的试验指导书籍,非常方便的一本书- i usuless for foreign school, it is a book about china s tutorial
- 2022-07-01 02:35:12下载
- 积分:1
-
Mystery of Einstein, who fish (Environment : VisualStdio 2005)
爱因斯坦谜题,谁养鱼(环境:VisualStdio 2005)-Mystery of Einstein, who fish (Environment : VisualStdio 2005)
- 2023-08-17 00:35:04下载
- 积分:1
-
oracle9i错误号查询
oracle9i错误号查询-wrong inquiry
- 2022-02-07 20:43:51下载
- 积分: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
-
数据结构与算法分析中创建链表,实现多项式相加
数据结构与算法分析中创建链表,实现多项式相加-Analysis of the data structure and algorithm to create a list, add up to the realization of polynomial
- 2023-01-31 17:15:04下载
- 积分:1
-
这是数据结构算法中的队列的实现源码。用C++开发。
这是数据结构算法中的队列的实现源码。用C++开发。-This is a data structure algorithms realize the source of the queue. With C++ Development.
- 2022-05-16 02:13:30下载
- 积分:1
-
这是一个用PB和SQL SERVER做的课程设计,模拟完成了,银行的开户,销户,存款,取款等功能....
这是一个用PB和SQL SERVER做的课程设计,模拟完成了,银行的开户,销户,存款,取款等功能.-with PB and SQL SERVER do curriculum design, simulation completed, the bank accounts, and marketing of households, deposits, withdrawals and other functions.
- 2022-07-11 05:45:42下载
- 积分:1
-
使用指针实现的自然归并排序。是学习指针和数据结构的很好的资料,要的就快下吧。...
使用指针实现的自然归并排序。是学习指针和数据结构的很好的资料,要的就快下吧。-use of the natural target to achieve its stock ranking. Yes learning targets and data structure of good information to the fast are you.
- 2023-02-11 12:25:03下载
- 积分:1