-
快速排序与交换排序算法比较
在Visual C++中建立一个单文档Windows应用程序,并实现下述功能:
运用随机函数自动生成一定规模的测试数据 (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
- 2022-04-22 17:20:42下载
- 积分:1
-
绝对经典,LINUX下自己实现截面边趁个,很好的教学资料,快看...
绝对经典,LINUX下自己实现截面边趁个,很好的教学资料,快看-a classical LIUNX program for cutting image, a good teaching source
- 2023-09-02 03:10:03下载
- 积分:1
-
统计目录下全部Word文件的对应页数,VBA较新颖的用法
统计目录下全部Word文件的对应页数,VBA较新颖的用法-statistics directory of all Word documents corresponding page, VBA more innovative usage
- 2022-09-10 19:25:03下载
- 积分:1
-
模板匹配
可以实现简单的图片模板匹配。。。。。不过这个是很简单的测试程序,现在还是菜鸟,想获取点资料,希望大神们的指教,,,,,zhiwei huoqu dian jifen a
- 2022-03-18 06:39:31下载
- 积分:1
-
投票问卷管理系统 很好的 希望大家快来下载吧 我自己编写的 并且很使用...
投票问卷管理系统 很好的 希望大家快来下载吧 我自己编写的 并且很使用-vote questionnaire management system good hope we hurry I downloaded it and is prepared to use
- 2022-01-24 16:47:52下载
- 积分:1
-
一个可以直接运行的FTP服务起端的源代码
一个可以直接运行的FTP服务起端的源代码-a direct operation of the FTP service initial terminal source code
- 2022-12-01 21:00:03下载
- 积分:1
-
本程序为一个用Delphi开发的定时关机的示例
本程序为一个用Delphi开发的定时关机的示例-the procedures used for a regular Delphi shutdown example
- 2022-03-10 01:17:35下载
- 积分:1
-
城市公交地图编辑器源代码
城市公交地图编辑器源代码-urban transit map editor source code
- 2022-03-24 02:18:50下载
- 积分:1
-
用C语言实现的求解输入两字串的相同子串个数及内容
用C语言实现的求解输入两字串的相同子串个数及内容-Using C language to solve the same input two string substring the number and content of
- 2022-06-26 08:28:55下载
- 积分:1
-
bdvbdipvdsvbsdpvbpdivbs
这是一个简单的酒店管理网站,在这个网站上用户可以登录和入住酒店,并用SQL数据库检查退房和客房的可用性
- 2022-03-11 03:34:32下载
- 积分:1