-
求和最大的子序列,采用动态规划算法,经典算法
求和最大的子序列,采用动态规划算法,经典算法-sequences using dynamic programming algorithm, the algorithm classic
- 2022-05-22 04:53:59下载
- 积分:1
-
蒙古文输入法源码,难得啊!望少数民族同学注意
蒙古文输入法源码,难得啊!望少数民族同学注意-Mongolian input source, a rare ah! Looking to minority students
- 2022-03-14 13:05:53下载
- 积分:1
-
民间标会的会员管理用的软件。是为一个顾客定做的!
民间标会的会员管理用的软件。是为一个顾客定做的!-civil standard to be a member of the management software. For a customized!
- 2022-01-26 06:03:01下载
- 积分:1
-
如果要连接的数据库文件和当前文件在同一个目录下
如果要连接的数据库文件和当前文件在同一个目录下-If you want to connect to the database file and the current document in the same directory
- 2022-04-19 00:08:28下载
- 积分:1
-
数据结构中栈的相关操作,数据结构中栈的相关操作
数据结构中栈的相关操作,数据结构中栈的相关操作-data structure stack of operation, stack data structure of operation
- 2023-04-01 03:05:04下载
- 积分:1
-
本人写的浙大acm题目的源码,贴出来供大家分享,希望对大家的编程水平能有所帮助...
本人写的浙大acm题目的源码,贴出来供大家分享,希望对大家的编程水平能有所帮助-I wrote the title of the source Zheda acm, posted for everyone to share, in the hope that the level of U.S. programming, can be helped
- 2022-03-11 07:31:30下载
- 积分: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
-
在 JAVA 游戏
彪彪关游戏
a) 如何使用?
第一次单击任何记得,然后按钮后单击一个按钮,然后记住所有的任何按钮,您单击了。
增加了匹配按钮时发现那两个这些按钮中删除的时间和柜台。
当你无法识别匹
- 2022-01-25 22:14:31下载
- 积分:1
-
学生信息管理
学生管理系统能对学生信息进行管理并查询,本系统采用VB+ACESS工具开发
分为管理员登陆和学生登陆,管理员具有添加,删除,更新的权限。学生则只有查询权限。二者共用以个数据库。下面就对系统的部分功能,模块及代码进行分析。
- 2022-07-02 08:40:34下载
- 积分:1
-
这是关于图论算法里面的一些代码,图论基本的思想代码的实现...
这是关于图论算法里面的一些代码,图论基本的思想代码的实现-This is on the graph theory algorithm inside some code, graph theory, the idea of the basic code realize
- 2022-02-10 12:57:22下载
- 积分:1