-
Our operating title, queue and stack functions, understanding these two concepts...
我们的作业题,队列和栈函数,对理解这两个概念有帮助-Our operating title, queue and stack functions, understanding these two concepts help
- 2022-08-05 10:07:35下载
- 积分:1
-
离散01串问题,(n,k)01 串定义为:长度为n 的01 串,其中不含k 个连续的相同子串。对于给定的正整数n 和k,计算(n,k)01 串的个数。...
离散01串问题,(n,k)01 串定义为:长度为n 的01 串,其中不含k 个连续的相同子串。对于给定的正整数n 和k,计算(n,k)01 串的个数。-discrete series of 01 questions, and (n, k) 01 Series : the definition of the length of n strings of 01, which is non-consecutive k-the same string. For a given positive integer n and k, calculated (n, k) 01 series of numbers.
- 2023-03-26 18:45:03下载
- 积分: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
-
输入您的生辰八字,程序会帮你算出你的一元周期的所有点
输入您的生辰八字,程序会帮你算出你的一元周期的所有点-Enter your birthday character, the program will help you calculate your cycle of one dollar all point
- 2022-02-14 08:20:42下载
- 积分:1
-
adjacency matrix for the Shortest Path (arrays). Rar adjacency matrix for the Sh...
邻接矩阵求解最短路径(数组).rar
邻接矩阵求解最短路径(数组).rar-adjacency matrix for the Shortest Path (arrays). Rar adjacency matrix for the Shortest Path (arrays). Rar
- 2022-05-24 03:23:04下载
- 积分:1
-
航空信息管理系统
航空信息管理系统-Aviation Information Management System
- 2022-04-07 08:09:51下载
- 积分:1
-
Detailed description of the usage of function pointer, and to form an array of f...
详细说明函数指针的用法,并形成函数指针数组调用方法
- 2022-03-26 06:59:12下载
- 积分:1
-
A very short version of expression of evaluation, be builted using the principle...
很短的表达式求值,利用了编译原理里面的只是构建的-A very short version of expression of evaluation, be builted using the principle of the compiler.
- 2022-02-02 07:49:58下载
- 积分:1
-
这是一个PB小程序 是实现模糊查询的.这是一个PB的小程序,实现模糊查询的 这是一个PB的小程序,实现模糊查询的...
这是一个PB小程序 是实现模糊查询的.这是一个PB的小程序,实现模糊查询的 这是一个PB的小程序,实现模糊查询的-PB This a small program is vague inquiries. This a small program PB, Fuzzy inquiry, which is a PB of small programs to achieve fu zzy inquiry, which is a PB of small programs to achieve fuzzy inquiry, which is the one PB small program for the realization of fuzzy
- 2022-07-09 23:16:39下载
- 积分:1