-
/ k* Product of the biggest problems Description : I set up is a n
/*最大k乘积问题 问题描述: 设I是一个n位十进制整数。如果将I划分为k段,则可得到k个整数。这k个整数的乘积称为I的一个k乘积 。 试设计一个算法,对于给定的I和k,求出I的最大k乘积(n
- 2022-04-12 10:48:27下载
- 积分: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
-
SQL Server database structure viewer program (VC
SQL Server 数据库结构查看程序(VC源码)-SQL Server database structure viewer program (VC-source)
- 2022-02-13 10:03:24下载
- 积分:1
-
用VC实现数据结构中冒泡排序,快速排序,希尔排序等各种改进排序算法...
用VC实现数据结构中冒泡排序,快速排序,希尔排序等各种改进排序算法-Data structure with the VC bubble sort, quick sort, Shell sort and other sorting algorithm to improve
- 2023-03-08 01:15:03下载
- 积分:1
-
把源文件拷贝入code.txt,运行此程序后,所得软件在code.txt中
把源文件拷贝入code.txt,运行此程序后,所得软件在code.txt中-put source files are copied into code.txt, running this program, from which software code.txt
- 2022-03-10 04:53:29下载
- 积分:1
-
SQL数据库在App_Data下面
是sql格式的
用的时候只需要修改App_Code下面的DB字符串就可以了
有的代码我做了注释...
SQL数据库在App_Data下面
是sql格式的
用的时候只需要修改App_Code下面的DB字符串就可以了
有的代码我做了注释-SQL database in the App_Data below sql format is used only when necessary to amend the App_Code following DB string can be a some code I have done a Note
- 2022-03-01 14:09:30下载
- 积分:1
-
vb编的医院管理系统,需要的可以下载,有兴趣自行习惯
P7 基于ARM-Linux的IP Camera解决方案,是我在网上找的,版权归原作者所有.-P7 based on ARM-Linux solutions for the IP Camera is that I find online, and belongs to original author.
- 2022-01-25 17:45:29下载
- 积分:1
-
VC++下的不规则三角网生成算法,这是不规则三角网的生长算法,通过建立TIN类,在TIN类内实现一些方法....
VC++下的不规则三角网生成算法,这是不规则三角网的生长算法,通过建立TIN类,在TIN类内实现一些方法.-VC under the TIN generation algorithm, which is triangular irregular network growth algorithm, through the establishment of TIN category, the category TIN achieve some ways.
- 2022-07-20 04:04:19下载
- 积分:1
-
mapreduce的工具软件。来源为ibm 的技术论坛。
mapreduce的工具软件。来源为ibm 的技术论坛。-mapreduce software tools. Source for ibm technical forum.
- 2022-03-11 17:05:11下载
- 积分:1
-
计算机数据结构课程设计,图书管理系统c语言版(含有软件设计书)....
计算机数据结构课程设计,图书管理系统c语言版(含有软件设计书).-Computer data structures curriculum design, library management system c language version (with software design book).
- 2022-07-24 23:11:06下载
- 积分:1