-
一个表达式求值样例程序,对于C++初学者很有帮助
一个表达式求值样例程序,对于C++初学者很有帮助-a sample of expression evaluation,it will be helpful for C/C++ fresher
- 2022-02-01 07:13:23下载
- 积分:1
-
这是关于古代9连环问题的求解过程,包括安装跟坼卸
这是关于古代9连环问题的求解过程,包括安装跟坼卸-This is a chain of nine ancient problem solving process, including the installation of crack with dumping
- 2022-04-01 14:14:11下载
- 积分:1
-
C language:hotel manage system
C语言课程设计--旅店客房管理系统
数据结构:采用十字链表,实现录入、遍历、保存、载入、修改、插入、删除、各种查询及统计等功能。运行环境:Turboc2.0,文本界面-C language:hotel manage system
- 2022-10-10 15:25:02下载
- 积分:1
-
做的非常好的论坛,数据库采用access。数据库在db文件夹下,在odbc注册db2000为系统DSN,就可以使用了...
做的非常好的论坛,数据库采用access。数据库在db文件夹下,在odbc注册db2000为系统DSN,就可以使用了-To do a very good forum, the database used access. Database in the db folder, db2000 for registration in the odbc system DSN, you can use the
- 2023-03-10 10:35:06下载
- 积分:1
-
此篇代码的功能是关于K路文件的归并,用于数据结构,算法等设计...
此篇代码的功能是关于K路文件的归并,用于数据结构,算法等设计-Cipian functionality of the code files on K road merging, for data structures, algorithm design
- 2022-05-23 05:28:30下载
- 积分:1
-
构造格雷码的分析程序,用于算法分析,用VC编写,可以构造n位的格雷码...
构造格雷码的分析程序,用于算法分析,用VC编写,可以构造n位的格雷码-Gray Construction Code Analysis Program for the analysis of algorithms, with VC preparation, can be constructed of n-Gray code
- 2022-08-13 19:02:44下载
- 积分:1
-
100个vfp 小程序源码,对于初学者来说很有用
100个vfp 小程序源码,对于初学者来说很有用-100 -100 VFP applet source code, useful for beginners-100
- 2023-07-10 07:55:02下载
- 积分:1
-
这是一个数据结构的常用算法,是关于字符排序的,输入一串字符用算法实现字符排序...
这是一个数据结构的常用算法,是关于字符排序的,输入一串字符用算法实现字符排序-This is a common data structure algorithms, is the sort of character input string of characters with character Sort Algorithm
- 2022-06-20 10:37:50下载
- 积分:1
-
c#数据库连接及热图渲染矩阵计算
c#数据库连接及热图渲染矩阵计算,利用oracle数库连接读入数据,插入数据,利用线性差值及argis二次开发
插入热点,并将结果插入结果矩阵中
- 2022-08-04 09:54:33下载
- 积分: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