登录
首页 » Windows开发 » 快速排序与交换排序算法比较 在Visual C++中建立一个单文档Windows应用程序,并实现下述功能: 运用随机函数自动生成一定规模的测试数据 (1...

快速排序与交换排序算法比较 在Visual C++中建立一个单文档Windows应用程序,并实现下述功能: 运用随机函数自动生成一定规模的测试数据 (1...

于 2022-04-22 发布 文件大小:3.46 MB
0 169
下载积分: 2 下载次数: 1

代码说明:

快速排序与交换排序算法比较 在Visual C++中建立一个单文档Windows应用程序,并实现下述功能: 运用随机函数自动生成一定规模的测试数据 (10000个测试元素),并输出到文件中。 分别执行快速排序算法和交换排序算法对测试数据排序,并输出到不同的文件中。 使用较为精确的QueryPerformanceCounter和QueryPerformanceFrequency等函数记录算法耗时,精确到毫秒,以便更好地进行算法耗时比较。 分析两种不同算法,有针对性地设计与调整测试数据,进而通过比较算法耗时来得到更充分且更深刻的认识。 编写模块校验两种不同排序算法的输出结果正确且相同 -Quicksort sorting algorithm comparison and exchange In the Visual C++ to create a single document Windows application, and to achieve the following functions: The use of random function automatically generates a certain amount of test data (10000 test elements), and output to a file. Respectively, and the exchange of the implementation of quick sort algorithm sorting algorithm to sort of test data, and output to a different file. Using a more accurate record of QueryPerformanceCounter and QueryPerformanceFrequency algorithms such as time-consuming functions, accurate to the millisecond, in order to better carry out time-consuming compared algorithms. Analysis of two d

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

发表评论

0 个回复

  • 图画管理。可以帮助用户完成一些图画的管理、可以实现图画浏览删除、打编辑、修改等功能...
    图画管理。可以帮助用户完成一些图画的管理、可以实现图画浏览删除、打开编辑、修改等功能-picture management. Users can help complete the picture of some management, can achieve a picture View delete, open edit, modify functions
    2022-04-11 07:49:45下载
    积分:1
  • Messaging API(MAPI)的了解文件 MAPI98.chm
    Messaging API(MAPI)的了解文件 MAPI98.chm-Messaging API (MAPI) files MAPI98.chm understanding
    2023-08-09 06:10:03下载
    积分:1
  • 多功能计算软件程序清单 功能要求:具备整型数据、浮点型数据的算术(加、减、乘、除)运算功能。 依次输入运算符(+,...
    多功能计算软件程序清单 功能要求:具备整型数据、浮点型数据的算术(加、减、乘、除)运算功能。 依次输入运算符(+,-,*,/)、第一个运算数、第二个运算数,然后输出结果, 当用户输入 Q 则退出系统,否则允许用户连续进行运算。-Multi-function calculation software program list functional requirements: with integer data, floating-point data arithmetic (add, subtract, multiply, divide) operator function. Followed by enter operator (+,-,*,/), the first operand, the second operand, and then output the result, when the user enters " Q" then exit the system, or allows the user to continuous operation.
    2022-08-21 02:26:38下载
    积分:1
  • Exceptional C++: 47 Engineering Puzzles, Programming Problems, and Solutions B...
    Exceptional C++: 47 Engineering Puzzles, Programming Problems, and Solutions By Herb Sutter
    2023-03-26 17:10:03下载
    积分:1
  • 塔锚链塔德传输德基地
    matlab 仿真塔锚链塔德传输德基地matlab 仿真塔锚链塔德传输德基地matlab 仿真塔锚链塔德传输德基地matlab 仿真塔锚链塔德传输德基地matlab 仿真塔锚链塔德传输德基地matlab 仿真塔锚链塔德传输德基地matlab 仿真塔锚链塔德传输德基地matlab 仿真塔锚链塔德传输德基地matlab 仿真塔锚链塔德传输德基地matlab 仿真塔锚链塔德传输德基地
    2022-02-24 15:38:58下载
    积分:1
  • c + + 遍歷usb device資料
    使用它,您可以从 USB 设备派生".jpg"s。 https://www.facebook.com/photo.php?v=686558398031809&set=vb.100000329652527&type=2&theater
    2023-05-25 02:05:03下载
    积分:1
  • 指针式时钟.rar
    指针式时钟.rar-Pointer clock. Rar
    2023-02-05 06:35:03下载
    积分:1
  • Proficient in Windows Vista " proficient in Windows Vista" system intro...
    精通Windows Vista《精通Windows Vista》系统地介绍了Microsoft公司推出的最新操作系统――Windows Vista,该系统具有全新的界面、高度集成的功能和更快捷的操作性能,被认为是Windows系列操作系统的一次飞跃。《-Proficient in Windows Vista " proficient in Windows Vista" system introduced has introduced the latest Microsoft operating system- Windows Vista, the system interface with the new, highly integrated functionality and more efficient performance, be considered Windows family of operating systems a leap. "
    2022-04-12 15:10:56下载
    积分:1
  • 撤消删除文件在 NTFS 中
    NTFS-"新技术文件系统"是首选的本机文件系统为 Windows NT 系列。它是一个更复杂的强大的和复杂的文件系统比 FAT 文件系统。它是十分有效的为更大的磁盘。有很多工具出在互联网中为恢复已删除的文件从 NTFS,但咀嚼不找到一个与源,现在。我创建了此工具,以满足我的好奇心,我提出诚挚的祝福: 祝你有相同的兴趣。这里是与源的工具。
    2022-12-17 23:30:03下载
    积分:1
  • 串口小工具代码
    VC编写的上位机串口通讯小工具,通过API CreateFile打开串口并通讯,对初学者有很大的帮助。
    2023-03-23 23:20:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载