-
一个计算SIN X的函数,觉得算法还可以
一个计算SIN X的函数,觉得算法还可以-a calculation SIN X function, algorithm can also think! !
- 2023-01-29 02:45:03下载
- 积分:1
-
Given a (undirected) graph G, and G in two points s, t, determined from s to t o...
给定一个(无向)图G,及G中的两点s、t,确定一条从s到t的最短路径。-Given a (undirected) graph G, and G in two points s, t, determined from s to t of a shortest path.
- 2022-01-30 21:36:58下载
- 积分: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
-
PHP 连接
Java 检测 distruibuidos 数据库, PHP 执行情况
- 2022-10-26 16:25:03下载
- 积分:1
-
是用回朔法实现跳马程序。数据结构入门的好例子
是用回朔法实现跳马程序。数据结构入门的好例子-is back Schomburg Method vault procedures. Structure data entry a good example
- 2023-09-02 00:20:03下载
- 积分:1
-
网络流算法的程序以及用网络流解决两个最小割模型的代码
网络流算法的程序以及用网络流解决两个最小割模型的代码-Network flow algorithm for the procedure as well as network flow solution to the two minimal cut model code
- 2022-09-02 09:45:03下载
- 积分:1
-
检验SQL语法正确性
检验SQL语法正确性-test SQL syntax correctness
- 2022-11-13 00:55:03下载
- 积分:1
-
a three
一个三层应用程序,演示如何通过ADO对象以及存储在SQL Server中的Procedure实现高性能的数据访问(在运行程序前首先要设置SQL Server,在压缩包中有一个Procs.sql的文件,首先在SQL Server上运行该文件设置SQL Server数据库)-a three-tier applications, demonstrating how ADO and SQL Server stored in the Procedure to achieve high-performance data access (in the first before running the program to set up SQL Server, in a compressed Procs.sql a document, the first in SQL Server running on the document set up SQL Server database)
- 2022-03-26 07:17:48下载
- 积分:1
-
used to achieve stack operation. The program is the stack into the stack and sta...
用链表实现栈的操作.该程序有栈的进栈和出栈操作.很简单.这是本人第一次上传程序源代码,如有什么不足之处还望各位多多海涵.-used to achieve stack operation. The program is the stack into the stack and stack up operation. Very simple. This is the first time I uploaded the source code, if there are any deficiencies Agency also look to a lot Haihan.
- 2022-05-08 05:26:50下载
- 积分:1
-
本科时参加小竞赛设计的一个代数运算器
1. 能对常用的四则运算,三角, 乘方,开方运行2. 支持变量赋值和运算 3. 增加批处理执行功能(批处理脚本文件)...
本科时参加小竞赛设计的一个代数运算器
1. 能对常用的四则运算,三角, 乘方,开方运行2. 支持变量赋值和运算 3. 增加批处理执行功能(批处理脚本文件)
4. 增加对向量或矩阵运算的支持,如输入
-Undergraduate to participate in the design a little contest an algebraic calculator. Can commonly used four arithmetic, trigonometry, involution, prescribing run 2. Supports variable assignments and operations 3. Increase the batch executive function (a batch script file) 4. increase support for vector or matrix operations, such as the input
- 2022-07-17 11:32:14下载
- 积分:1