-
简单的计算器,暂时不支持复杂的函数如,三角函数等
简单的计算器,暂时不支持复杂的函数如,三角函数等-A simple calculator, temporary does not support the complex functions such as trigonometric functions, etc.
- 2022-03-02 01:20:12下载
- 积分:1
-
Earthquake magnitudo registered in San Francisco, during last 2 years plus white...
Earthquake magnitudo registered in San Francisco, during last 2 years plus white noise data
- 2022-01-25 19:03:55下载
- 积分: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 how to operate the database of images field
VC编程中如何操作数据库中的图像字段-VC how to operate the database of images field
- 2023-06-20 07:00:03下载
- 积分:1
-
一个很好的VC++ 用ODBC编的
一个很好的VC++ 用ODBC编的-a good VC++ using ODBC series
- 2022-01-26 03:34:20下载
- 积分:1
-
用KRUSKAL算法求最短路径,可以运行C++源程序
用KRUSKAL算法求最短路径,可以运行C++源程序-KRUSKAL algorithm used for the shortest path, you can run C++ source code
- 2022-01-24 13:45:34下载
- 积分:1
-
实验数据结构,第一个教科书(1)互联网接入…
&《实验数据结构》第一册教材(1)上网程序。雷亚尔
- 2022-03-18 04:04:20下载
- 积分:1
-
The most popular embedded database. Faste st and stablest.
The most popular embedded database. Fastest and stablest.-The most popular embedded database. Faste st and stablest.
- 2022-07-04 10:09:28下载
- 积分:1
-
实现岛上建立公路的最短路径算法,调用了dikstra算法
实现岛上建立公路的最短路径算法,调用了dikstra算法-Highway on the island to achieve the establishment of the shortest path algorithm, called algorithm dikstra
- 2023-01-07 11:20:03下载
- 积分:1
-
不同类型的文本和返回信息的解析库
library for parsing xml text and returning information of different type
- 2022-07-05 06:09:07下载
- 积分:1