-
图论算法,旅行推销员问题,很有趣。
可算出图中的哈米尔顿回路...
图论算法,旅行推销员问题,很有趣。
可算出图中的哈米尔顿回路-graph algorithm, traveling salesman problem, very interesting. Map can be calculated totally dominated the circuit
- 2022-01-25 19:16:27下载
- 积分:1
-
用VB开发的一个学生管理系统,有基本的添加、修改、查询、删除的功能,还可以把这个系统安装...
用VB开发的一个学生管理系统,有基本的添加、修改、查询、删除的功能,还可以把这个系统安装-Using VB to develop a student management system, has the basic add, modify, query, delete function, the system can also be used to install
- 2023-08-08 20:40:08下载
- 积分:1
-
算法导论上机作业java实现,主要有背包问题,八皇后问题,递归等。...
算法导论上机作业java实现,主要有背包问题,八皇后问题,递归等。-Introduction to the machine operation algorithm java to achieve, there are knapsack problem, the eight queen problem, recursive and so on.
- 2022-07-04 16:56:14下载
- 积分: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
-
手术室
手术室管理系统是一个ASP.NET应用程序管理预订业务剧院为 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-02-15 15:35:50下载
- 积分:1
-
将内存中的一段数据拷贝到另外一段内存中,要考虑其中的内存覆盖问题。...
将内存中的一段数据拷贝到另外一段内存中,要考虑其中的内存覆盖问题。-A section of the memory to copy data to another section of memory, it is necessary to take into account the memory coverage problems.
- 2022-10-04 15:40:03下载
- 积分:1
-
数据结构:轮渡管理
数据结构:轮渡管理-data structure : the ferry management
- 2023-07-18 05:50:02下载
- 积分:1
-
Data Structure e
数据结构电子书,清华大学出版社,严蔚敏老师-Data Structure e-books, Tsinghua University Press, YAN Wei-min Teachers
- 2022-01-22 06:44:26下载
- 积分:1
-
三道几何题:hdu 1007、hdu 2289、poj 3714
三道几何题:hdu 1007、hdu 2289、poj 3714-Three geometry question: hdu 1007, hdu 2289, poj 3714
- 2022-02-15 06:47:15下载
- 积分:1
-
a good JAVA guestbook
一个不错的JAVA guestbook -a good JAVA guestbook
- 2023-02-26 04:00:04下载
- 积分:1