-
使用两个向量的叉积判断两线分割…
使用两个向量的叉积来判断两条线段是否相交-The use of the cross product of two vectors to determine whether two line segments intersect
- 2022-03-24 16:16:40下载
- 积分:1
-
音像制品销售管理 音像制品销售管理
音像制品销售管理 音像制品销售管理-Audio and video products audio and video products sales management sales management sales management audio and video products
- 2022-02-01 13:53:10下载
- 积分: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
-
c++管理系统
初学自己边的一个管理系统,比较简单,发出来希望大神可以帮我改进,谢谢
- 2022-08-23 04:45:41下载
- 积分:1
-
dbcmp-数据库内容比较工具
dbcmp是一个数据库内容比较工具。用于比较数据库的两个表数据之间的差异,并通过WEB的形式高亮显示。dbcmp运行于Linux/Unix平台,目前只支持Oracle.运行前用户要配置dbcmp.cfg、dbcmp.tbl、dbcmp.xcols文件. 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2023-06-27 22:45:03下载
- 积分:1
-
动态规划之合唱队形,即利用动态规划解决合唱队形的问题
动态规划之合唱队形,即利用动态规划解决合唱队形的问题-Dynamic Programming
- 2022-12-19 06:05:03下载
- 积分:1
-
数据结构里的dfs算法,包括递归与非递归。用vc6.0编写
数据结构里的dfs算法,包括递归与非递归。用vc6.0编写-data structure, the dfs algorithms, including recursive and non- recursive. Prepared with vc6.0
- 2022-01-21 23:50:04下载
- 积分:1
-
数据结构1800例题与答案 我想对大学生很有用啊
数据结构1800例题与答案 我想对大学生很有用啊-data structure with 1,800 examples, I would like to answer students useful ah
- 2022-03-31 22:44:52下载
- 积分: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
-
约瑟夫环的循环链表实现,这个程序比较完整,有需要做试验的请速速下载。...
约瑟夫环的循环链表实现,这个程序比较完整,有需要做试验的请速速下载。-Josephus cycle Chain achieved, the procedure is complete, the pilot needs to be done urgently requested to download.
- 2023-03-16 10:25:03下载
- 积分:1