-
Partner system: avail [0 .. m] can be used for table space, n for the distributi...
伙伴系统:avail[0..m]为可利用空间表, n为申请分配量, 若有不小于n的空闲块, 则分配相应的存储块, 并返回其首地址,否则返回NULL -Partner system: avail [0 .. m] can be used for table space, n for the distribution of the volume of applications, if n is not less than the free block, then the distribution of the corresponding storage block, and return to its first address, otherwise return NULL
- 2022-01-30 23:57:11下载
- 积分:1
-
JAVA源代码反编译超级引挚
JAVA源代码反编译超级引挚 -Java source code compiler- super engine
- 2023-06-21 01:00:04下载
- 积分:1
-
所有的VB数据库连接,添加、删除、修改技术,实例齐全,以ACCESS数据库为例!...
所有的VB数据库连接,添加、删除、修改技术,实例齐全,以ACCESS数据库为例!-database basic
- 2022-12-05 22:40:03下载
- 积分: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
-
学生信息管理系统
直接下载,用vc++6.0打开 可直接运行,数据库为access2003,语言为vc++,适合初学者
直接下载,用vc++6.0打开 可直接运行,数据库为access2003,语言为vc++,适合初学者
- 2022-12-25 08:10:03下载
- 积分:1
-
Pure C language to write a small general
纯C语言写的小型通用数据库,一个C数据结构组科技小组的作品,附有开发思路PPT,这可是一个宝贵的资源哦,更底层的东西,运行于DOS提示符,可以新建数据库等操作。C的编程高手们值得参考一下。-Pure C language to write a small general-purpose database, a data structure C Group Technology Group works to develop ideas with PPT, this is a valuable resource Oh, and the bottom of things, running on the DOS prompt, you can operate a new database. C programming masters worthy of reference.
- 2023-01-16 16:55:04下载
- 积分:1
-
数据结构JAVA版本的电子教案,共有10章。内容全面包括数据结构的基本内容。...
数据结构JAVA版本的电子教案,共有10章。内容全面包括数据结构的基本内容。-Data Structure JAVA version of the electronic lesson plans, a total of 10 chapters. Comprehensive and include the basic content of the data structure.
- 2022-05-06 05:39:48下载
- 积分:1
-
两结构分析程序,用于制备Fortran90,主要用于结构…
结构分析程序2,用fortran90编写,主要用于结构分析-two structural analysis procedures used to prepare FORTRAN90, mainly for structural analysis
- 2022-03-10 15:05:06下载
- 积分:1
-
三层物资管理程序源码
三层物资管理程序源码-three source material management procedures
- 2022-03-23 19:47:59下载
- 积分:1
-
连接oracle的java库
连接oracle的java库- Connects oracle the java storehouse
- 2023-08-07 18:15:03下载
- 积分:1