-
快速排序与交换排序算法比较
在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
-
full
全屏幕模拟时钟的C源程序-full-screen clock simulation of C source
- 2022-07-17 21:31:19下载
- 积分:1
-
网站java原程序
网站java原程序-website java original program
- 2023-06-07 16:55:03下载
- 积分:1
-
用c写的一个分割文件的源程序,写的不错,注析完整。
用c写的一个分割文件的源程序,写的不错,注析完整。-written with a separate source of the documents, written in good, Note On integrity.
- 2022-02-06 11:05:06下载
- 积分:1
-
can do c language Training procedures.
可以做c语言的实训程序。-can do c language Training procedures.
- 2022-05-22 18:03:51下载
- 积分:1
-
c++链表插入操作,且链表数据元素有序,在插入时对数据进行比较,让其有序...
c++链表插入操作,且链表数据元素有序,在插入时对数据进行比较,让其有序-c List insertion and data elements in an orderly List, when inserted in the data, so in an orderly
- 2023-01-19 10:10:04下载
- 积分:1
-
A星算法图搜索代码
通过java编程实现对图的搜索,最终得到代价最小的路径 文件中有源代码 也有测试程序 本人亲自验证过了 可以实现 如果有能力者 可以将之改变成路径搜索的方法 我能力不足 期待您的改编
- 2022-08-06 04:28:17下载
- 积分:1
-
轮询系统
套餐votebean;
- 2022-05-15 14:21:53下载
- 积分:1
-
Explanation to RANSAC Algorithm, useful to fit lines or better least square algo...
Explanation to RANSAC Algorithm, useful to fit lines or better least square algorithm.
- 2023-04-04 23:10:03下载
- 积分:1
-
讲解C++的PPT(主要是关于函数的讲解)
讲解C++的PPT(主要是关于函数的讲解)-Explain the C++, PPT (mainly about the function to explain)
- 2022-03-25 18:43:40下载
- 积分:1