登录
首页 » c++ » 数据结构各排序算法的移动次数、比较次数

数据结构各排序算法的移动次数、比较次数

于 2023-02-13 发布 文件大小:2.78 MB
0 41
下载积分: 2 下载次数: 1

代码说明:

输入:数据个数n;          每个数据的值;          操作符Key; 输出:Key=1——从1到n顺序排列的数字串在各排序算法的移动次数、比较次数          Key=2——从n到1倒序排列的数字串在各排序算法的移动次数、比较次数          Key=3——输入数字串在各排序算法的移动次数、比较次数 用到的排序算法有: InsertSort(); ShellSort(); BubbleSort(); QuickSort; SelectSort(); HeapSort(); MergeSort

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

发表评论

0 个回复

  • Picturewindow
    基于QT制作的图像处理软件,可对图像进行二值化,均值滤波等操作(The image processing software based on QT can binarize and filter the image)
    2018-12-03 16:50:02下载
    积分:1
  • C #定位的例子。
    C# localization example.
    2022-07-20 19:44:27下载
    积分:1
  • 成绩管理系统 进行成绩录入查询汇总等操作
    成绩管理系统 进行成绩录入查询汇总等操作-c# asp dfsdfsadfsadfadfs
    2023-04-17 16:15:03下载
    积分:1
  • 国外程序员编写的基于OpenGL的3D地形引擎 terrainEngine
    国外程序员编写的基于OpenGL的3D地形引擎。 errain Engine I started working on a terrain engine around October 2000. I was deeply moved by screenshots from black and white :) My intention and main goal was to create something visually stunning. This meant writing a terrain texture-generator, and working hard to find good textures and blending modes. The outcome is an engine that hold a (supposedly) 1km by 1km piece of terrain with very high accuracy. There is no triangle-cutting algorithm employed, simple brute-force. I use a large terrain texture and a tiling detail texture. There s a skybox and the terrain reflects on the water. I used OpenGL for this one, employing the OGLC skeleton to avoid most of the opengl-win32 business. You can move through this world using descent keys (a,z, keypad). use w to switch to wire-frame and d to render without the detail texture.(foreign programmers prepared by the OpenGL-based 3D terrain engine. Errain Engine I started working on a terrain eng stimulant around October 2000. I was deeply moved by sc reenshots from black and white : ) My intention and main goal was to create someth ing visually stunning. This meant writing a ter rain texture-generator, and working hard to find good blend textures and ing modes. The outcome is an engine that hold a ('s upposedly) 1km by 1km piece of terrain with very high accuracy. There is no triangle-cutting al gorithm employed. simple brute-force. I use a large terrain textu 're a tiling detail and texture. There's a skybox a nd the terrain reflects on the water. I used Open GL for this one. employing the OGLC skeleton to avoid most of the opengl- win32 business. You )
    2006-11-30 16:20:26下载
    积分:1
  • 多任务特征选择
    实现特征选择,一般在多源数据集情况下,我们获取的特征是多模态的,况且特征的融合可以实现更加精确的分类,然而也会碰见数据维度过高,样本容量太少的情况,所以特征的选择非常适合。
    2023-04-17 00:05:03下载
    积分:1
  • ga
    说明:  遗传算法借鉴了达尔文的进化论和孟德尔的生物遗传学说,模拟大自然界生物进化 机制,是一种高效、并行、全局搜索的优化方法。它能够在搜索过程中自动获取和积累 有关搜索空间的知识,并自适应控制搜索过程以求得最优解。(Genetic algorithm draws on Darwin s theory of evolution and Mendel s biological genetics, simulation of the nature of biological evolution Mechanism, is an efficient, parallel, global search optimization method. It can be automatically acquired and accumulated during the search process Knowledge about the search space, and adaptive control of the search process in order to obtain the optimal solution.)
    2016-12-19 10:43:34下载
    积分:1
  • Connect_Back_windows
    一个隐蔽的后门程序,反弹远程主机命令行.(A hidden backdoors, rebounded remote host command line.)
    2013-09-03 14:09:38下载
    积分:1
  • ReadXls
    读取excel文件的源代码,自己开发,功能详细!(read excel file source code!)
    2012-04-11 12:47:30下载
    积分:1
  • C# ping工具 实例源码下载
    C# ping工具 实例源码下载
    2014-08-12下载
    积分:1
  • kuaisupaixu
    计算机软件技术基础实验之快速排序程序,实现语言为c(Computer software technology based on quick sort of experimental procedure, the realization of language as c)
    2008-04-07 18:00:37下载
    积分:1
  • 696518资源总数
  • 104292会员总数
  • 28今日下载