-
可以有多层目录的树控件,连接数据库,自由的添加删除节点!
可以有多层目录的树控件,连接数据库,自由的添加删除节点!-Can have multi-directory tree controls, connect database, free to add delete the node!
- 2023-05-21 19:05:03下载
- 积分:1
-
A source of commercial software, including databases, graphics and other operati...
一个商业软件的源码,含数据库,图形等多种操作-A source of commercial software, including databases, graphics and other operating
- 2022-02-03 08:59:00下载
- 积分:1
-
严蔚敏经典教材《数据结构》的算法源码和实验演示系统
严蔚敏经典教材《数据结构》的算法源码和实验演示系统-Data Structure
- 2022-04-06 15:15:10下载
- 积分:1
-
约瑟夫环
设编号为1,2,···,n的n个人围坐一圈,约定编号为k(1≤k≤n)的人从1开始报数,数到m的那个人出列,他的下一位又从1开始报数,数到m的那个人又出列,依次类推,直到所有人出列为止,由此产生一个出队编号的序列。
- 2022-04-16 22:57:11下载
- 积分:1
-
合并排序给出一组整数和另一个整数,确定是否是O。
merge sort give a set S of n integers and another integer x, determine whether or not there exits two elements in S whose sum is exactly x.-merge sort give a set of S n integers and anot her integer x, determine whether or not there exits two elemen ts in S whose sum is exactly x.
- 2023-04-27 20:45:04下载
- 积分:1
-
网吧的基本操作都可以,包括刷卡,上下机等
网吧的基本操作都可以,包括刷卡,上下机等-Internet cafes can be basic operation, including credit card, from top to bottom, etc.
- 2023-01-12 07:45:04下载
- 积分:1
-
Fibonacci函数
Fibonacci函数-Fibonacci function
- 2022-10-08 18:05:02下载
- 积分: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
-
With the prim algorithm is seeking to use adjacency matrix storage structure, s...
用普里姆(Prim)算法求用邻接矩阵存储结构表示的图或网的最小生成树-With the prim algorithm is seeking to use adjacency matrix storage structure, said the plan or network, minimum spanning tree
- 2022-02-09 15:56:42下载
- 积分:1
-
this is a separate rule and the application of recursive the perfect embodiment...
这是一个分治法应用和递归的完美体现,它根据输入的数字在屏幕上打出美丽的图案。-this is a separate rule and the application of recursive the perfect embodiment of its import figures on the screen making beautiful designs.
- 2022-01-29 02:40:47下载
- 积分:1