-
一个封装好的产生随机数的类,十分好用,是学数据结构是写的,希望对大学有用...
一个封装好的产生随机数的类,十分好用,是学数据结构是写的,希望对大学有用-Generate a good random number package class, very easy to use is data structure is written in the hope of the University of useful
- 2022-01-31 13:43:50下载
- 积分: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
-
Binary tree of various operations, including the establishment of binary tree, t...
二叉树的各种操作,包括二叉树的建立,前序、中序、后序遍历二叉树,另外还包含一个霍夫曼编码的实现。-Binary tree of various operations, including the establishment of binary tree, the former sequence, in order, after the tree traversal, and also includes the implementation of a Huffman code.
- 2022-03-04 10:15:52下载
- 积分:1
-
vfp信息管理系统模版
vfp信息管理系统模版-Probe Information Management System template
- 2022-01-21 00:01:50下载
- 积分:1
-
用电管理,用ftp编的源程序,小改一下就可以用了
用电管理,用ftp编的源程序,小改一下就可以用了-electricity management, use ftp addendum to the source, small change can use this!
- 2022-01-26 07:34:19下载
- 积分:1
-
有效的索赔系统
这是为客户提供高效理赔的系统,基于客户端的技术,有良好的效率。
- 2023-06-29 08:15:04下载
- 积分:1
-
物资管理系统
物资管理系统-VC 使用ADO实现-Material Management System-VC use ADO
- 2023-02-01 06:45:04下载
- 积分:1
-
数据库开发,VC应用实例教程VisualC++软件项目开发实例源码
数据库开发,VC应用实例教程VisualC++软件项目开发实例源码-Database development, VC Tutorial Application VisualC++ Examples source software project development
- 2022-06-12 10:46:15下载
- 积分:1
-
该源码为酒店等使用的源码,使用java语言编写。具有GUI图形界面,使用jdbc来连接数据库。软件架构很合理,尤其是代码很简洁。...
该源码为酒店等使用的源码,使用java语言编写。具有GUI图形界面,使用jdbc来连接数据库。软件架构很合理,尤其是代码很简洁。-The source for the hotel such as the use of the source, use the java language. Graphical interface with a GUI, use jdbc to connect to database. Software architecture is very reasonable, especially in very concise code.
- 2022-11-05 20:50:03下载
- 积分:1
-
dhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb m...
dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs dhb manager wbs-dhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbsdhb manager wbs
- 2022-01-26 14:51:25下载
- 积分:1