登录
首页 » c » c语言内部排序与比较

c语言内部排序与比较

于 2022-04-28 发布 文件大小:12.43 kB
0 163
下载积分: 2 下载次数: 2

代码说明:

程序所能达到的基本可能:通过随机数据产生N个随机数,作为输入数据作比较;对常用的内部排序算法:直接插入排序、简单选择排序、冒泡排序、快速排序、希尔排序、归并排序进行比较:比较的指标为关键字参加的比较次数和关键字的移动次数(关键字交换记为3次移动)。最后结果输出各种排序算法的关键字参加的比较次数和关键字的移动次数,并按从小到大排列。

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

发表评论

0 个回复

  • iLabyrinth
    一个有用的迷宫游戏,用ios写的。项目还算比较大 比较完整 (A useful maze game, written in ios. The project is relatively large More complete)
    2014-08-02 10:02:40下载
    积分:1
  • faxengine-1.0.3
    fax engine 传真引擎 relay fax 的开源项目 商业软件使用 高质量 高可靠(fax engine fax relay fax engine open source software projects using high-quality commercial high reliability)
    2005-03-21 23:10:03下载
    积分:1
  • MNTH_TSP
    1. 本程序使用模拟退火算法解决TSP问题 a) 初始温度确定方法 选取任意状态为初始状态。以1为起始温度,不断升温,直到模拟所得接受概率大于90 ; b) 温度下降 温度下降系数为 0.95; c) 每一温度迭代 选取固定迭代次数 100 * n; d) 终止条件 温度下降次数到达 800,或某一温度下解不发生改变; 2. 本机运行及编译环境 win7 旗舰版 SP1 MINGW g++ 4.8.1 (Simulated Annealing Traveling Salesman Problem 1. This program uses the simulated annealing algorithm to solve TSP problem a) determining the initial temperature method Select any state to the initial state. 1 as the starting temperature, heats up, until the resulting analog acceptance probability greater than 90 b) the temperature drops Temperature drop coefficient of 0.95 c) Each iteration temperature Select a fixed number of iterations 100* n d) the termination condition The temperature drops to reach the number of 800, or at a temperature solution does not change 2. Run the machine and compiler environment win7 Ultimate SP1 MINGW g++ 4.8.1)
    2016-05-06 07:54:19下载
    积分:1
  • avi
    vc 一个可以在按钮上显示AVI动画的源代码(vc an AVI animations on the button display the source code)
    2011-07-03 08:46:47下载
    积分:1
  • MFC_txt
    创建一个文件对话框,并实现对txt格式的文件的读写操作(create a filedialog and operate the file)
    2013-05-02 20:33:56下载
    积分:1
  • 0629
    焊接模拟,fluent,电弧udf,钨极氩弧焊,源项(Welding simulation, fluent, arc udf, TIG welding, the source term)
    2021-03-28 10:29:12下载
    积分:1
  • Fluent蒸发相变UDF
    说明:  关于水蒸发相变的UDF程序,里面注释相对较完整(There are relatively complete notes in UDF program of water evaporation phase transition)
    2019-12-04 11:59:36下载
    积分:1
  • C# 批量登陆QQ源码下载
    C# 批量登陆QQ源码下载
    2021-02-05 10:39:57下载
    积分:1
  • 音视频协议封装
    音视频私有协议封装, 获取MP4文件媒体信息,包括文件名、音视频长度、视频分辨率、视频编码格式、音频编码格式等; 使用了递归方式对MP4 box进行解析,用法:myMp4Info.exe   inputFile.mp4; 主文件myMp4Info.cpp。
    2022-08-24 20:44:16下载
    积分:1
  • iic
    stm32硬件i2c,从机i2c,调试通过好用(Stm32 hardware i2c, the plane i2c, debugging through the use of good ~~~)
    2016-11-06 15:26:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载