登录
首页 » 算法 » Insertion sort

Insertion sort

于 2022-03-05 发布 文件大小:1.04 kB
0 92
下载积分: 2 下载次数: 1

代码说明:

insertion_sort.cpp #include #include #include #define N 5000 int insertion_sort( int data_insert[] ); void creat_file( char *file_name, int data_file[] ); int main(int argc, char *argv[]){    int data[N];    creat_file( argv[1], data ); 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 利用C++完成计的分段线性,二次插值和全区间拉格朗日插值的计!...
    利用C++完成计算方法的分段线性,二次插值和全区间拉格朗日插值的计算!-C completed the calculation method piecewise linear, quadratic interpolation, and the region between the Lagrange interpolation calculation!
    2023-05-05 17:50:02下载
    积分:1
  • 曲线拟合的好例子,推荐,我还没有测试过
    曲线拟合的好例子,推荐,我还没有测试过-A good example of curve fitting is recommended, I have not tested
    2022-05-20 11:43:44下载
    积分:1
  • 实现组合C(M,N)运,程序结构简单鲜明,运用递归,取代流行的数组方式储存,实现组合运...
    实现组合C(M,N)运算,程序结构简单鲜明,运用递归算法,取代流行的数组方式储存,实现组合运算-achieve portfolio C (M, N) Operational procedures simple structure distinctive, using recursive algorithm to replace the popular approach to storage arrays to achieve portfolio Operational .......................
    2022-03-15 05:18:35下载
    积分:1
  • ekf-ukf-pf
    使用MATLAB编写了关于几种常用非线性滤波算法的程序,在程序中通过一个非线性估计问题,对EKF、UKF、PF三种方法的估计性能进行了比较,可作为学习非线性滤波的学习材料。
    2022-02-02 05:25:52下载
    积分:1
  • itk计三维图片信噪比
    利用itk医学处理包,计算三维图像的峰值信噪比。将图像分块计算不同部位的信噪比,计算的结果将采取文件输出在psnr.txt文件当中,查看结果十分方便。另外还提供了一些三维的实例图片,包括含噪声的和不含噪声的,方便验证算法的正确性。
    2023-05-26 00:40:14下载
    积分:1
  • MD5VBMD5码生成的程序
    vb编写关于MD5码生成的程序,主要用于MD5码的生成。经测试没有什么错误,可以正常使用。可以生成短MD5和长MD5两种码。
    2023-02-27 10:45:02下载
    积分:1
  • Mathematical modeling of the classical algorithm, including the most short
    数学建模的经典算法实现,其中包括最短路等问题的实现-Mathematical modeling of the classical algorithm, including the most short-circuit issues such as the realization of
    2022-03-20 01:55:37下载
    积分:1
  • 基于DTW的语音识别源码和文档
    这是一个基于DTW的语音识别算法的C语言代码实现,有特征提取,声波分析等
    2023-01-27 06:50:03下载
    积分:1
  • matrix eigenvalue of the largest power France. For engineering calculation, Matr...
    矩阵的最大特征值的幂法. 对于工程计算而言,矩阵的特征值和特征向量都是相当重要和常见的数据,这里给出的幂法是一种常见的求解方法,用的是迭代的思想。 符号说明: 1A为待求的矩阵, 2Uk,Vk为迭代用的列向量。 3最后的最大特征值maxLamda由最后一次的max(Uk)-----求Uk中的绝对值最大的元素的绝对值.所决定。 而maxLamda所对应的特征向量由最后一次迭代的Vk所决定. 主要的想法就是先选一个不为0的初始向量U0!=0,然后按下面的式子迭代。 -matrix eigenvalue of the largest power France. For engineering calculation, Matrix eigenvalues and eigenvectors are very important and common data, here is the power law is a common solution, using the iterative thinking. Symbol : 1A of the question for the matrix, 2Uk, Vk iteration of the column vector. The final three largest eigenvalue maxLamda from last max (uk Hoffmann for the uk the largest absolute value of the absolute value of the element. by decision. While maxLamda corresponding eigenvectors from the last iteration of Vk decision. The main idea was first choice not one of the initial vector 0 U0! = 0, then by the following formula iteration.
    2022-12-15 11:10:03下载
    积分:1
  • 三维幻象创造
    应用背景三维的Shepp洛根幻象 ;可以用来测试三维重建算法关键技术对于任何给定的输出图像中的像素,像素的值等于 ;和所有的椭球,体素是 添加剂的强度值;部分。如果一个体素不是任何椭球的一部分,它的值是0
    2022-02-26 06:17:18下载
    积分:1
  • 696518资源总数
  • 105678会员总数
  • 22今日下载