-
好用啊 ,主要是一些,小列子。你一定要看懂了再用!
好用啊 ,主要是一些,小列子。你一定要看懂了再用!-handy ah, mainly some small Liezi. You must understand the reuse!
- 2022-11-02 06:40:03下载
- 积分:1
-
网上购物数据库,所有代码都有,包括模型图
网上购物数据库,所有代码都有,包括模型图 -Online Shopping Database
- 2023-08-14 04:35:03下载
- 积分:1
-
实现学生基本信息、选课信息及成绩的增、删、改、查功能。...
实现学生基本信息、选课信息及成绩的增、删、改、查功能。-Achieving students to basic information, elective information, and performance increase, delete, change, check functional.
- 2023-05-24 17:50:03下载
- 积分:1
-
是对加快程序运行时间,合理程序类型最有效,最有说服力的一本书...
是对加快程序运行时间,合理程序类型最有效,最有说服力的一本书-Introduction to Algorithm
- 2022-01-31 00:04:19下载
- 积分:1
-
K-均值在 C 编程
// kmeans.c//伊桑·布罗德斯基2011年//月#include#include#include#定义SQR(X)((X)*(X))#定义MAX_CLUSTERS16#定义MAX_ITERATIONS100#定义BIG_double(INFINITY)无效失败(字符*海峡){的printf(STR);出口(-1);}双calc_distance(INT暗淡,双* P1,双* P2){双distance_sq_sum= 0;对于(INT II=0;二
- 2023-07-21 00:35:03下载
- 积分:1
-
很好用的Access工具
很好用的Access工具-good use of Access Tools
- 2023-07-12 05:35:03下载
- 积分: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
-
to document the data Huffman coding and decoding, data presents given weight, sh...
对文件中的数据进行哈夫曼编码和解码,列出给定数据的权重,列出左右孩子和父亲节点的列表,对任意数据进行进行哈夫曼编码和解码-to document the data Huffman coding and decoding, data presents given weight, shown around children and the father node list of arbitrary data for Huffman coding and decoding
- 2022-03-16 02:51:33下载
- 积分:1
-
问题描述:假设一个商店,有一个架子和一个仓库,当第…
问题描述: 假设一个商店,它有一个货架和一个仓库,当货架上的商品数量少于一定的数目时,从仓库运一定数量的商品摆到货架上,当仓库里的商品的数量少于一定的数目时,购买商品把仓库填满,商品的出售要按照商品的生产日期来,快要过期的商品要先出售。 解决问题的方法: 用了两个栈和 一个队列,把队列当作仓库,用一个栈作为货架,把另一个栈当作临时的存储箱。当要往货架上添商品时,先把作为货架的栈中的元素全都压到作为存储箱的栈中,再把仓库中的元素压到存储箱中,然后再把存储箱中的所有元素都压到货架上,这样,就能保证快要过期的商品先被出售。-Problem description : Suppose a shop, which has a shelf and a warehouse, when the merchandise on the shelves less than a certain quantity of the number, a certain number from the warehouses of goods on the shelves, when the warehouse volume of goods is less than certain number, purchase goods warehouse filled, the goods according to the sale of commodity production to date, is about to expire first sale of goods. The solution : a two stack and a queue, queue as a warehouse, used as a stack shelves, and another stack as a temporary storage bins. When to go to the shelves Tim commodity, first as a stack shelves of all elements of the pressure storage tank as the stack, then the warehouse down to the storage element box, and then s
- 2022-07-13 01:56:00下载
- 积分:1
-
企业客户关系管理系统
企业客户关系管理系统-Enterprise Customer Relationship Management System
- 2023-05-15 22:05:04下载
- 积分:1