资源列表
[数据结构常用算法] KKHKHKHGKHJK
说明:题目:输入数组,最大的与第一个元素交换,最小的与最后一个元素交换,输出数组。 1.程序分析:谭浩强的书中答案有问题。 2.程序源代码:-Topic: input arrays, and the biggest and the first element exchange, the smallest and the last element exchange, output array. 1. The program analysis: TanHaoJiang book t<崔嬴> 在 2025-06-09 上传 | 大小:2kb | 下载:0
[数据结构常用算法] OUIOUIOUIOU
说明:题目:对10个数进行排序 1.程序分析:可以利用选择法,即从后9个比较过程中,选择一个最小的与第一个元素交换, 下次类推,即用第二个元素与后8个进行比较,并进行交换。 2.程序源代码: -Title: the number of 10 sorting 1. The program analysis: can use the choice method, that is, from nine after process more, choose a<崔嬴> 在 2025-06-09 上传 | 大小:2kb | 下载:0
[数据结构常用算法] shortestpath
说明:用可达矩阵算法实现最短路径,并求出path路径,以及可知道图中是否带环等功能-shortest path<lufeipeng> 在 2025-06-09 上传 | 大小:2kb | 下载:0
[数据结构常用算法] 256Alphe
说明:在网站上看到过很多Alpha混合计算的相关文档,其中不乏经典之作,但大多数都是基于16位显示模式下的,而256色的却很少有人谈及。所以,决定写一个基于256色的Alpha混合算法的详细实现方法。以帮助那些初学者,给他们一点点小小的灵感:)-Alpha blending calculations related documents see on the site, many of them classics, but most are based on 16-bit display mode, 2<李> 在 2025-06-09 上传 | 大小:2kb | 下载:0
[数据结构常用算法] Sort
说明:用直接插入法对R排序 /用希尔排序法对数据表R排序,D为增量序列,元素个数n,步长序列个数numOfD 用冒泡排序法对R排序 用直接选择排序法对R排序 堆排序 对有序表a[0]--a[n-1]进行一次二路归并排序,每个有序子表的长度为k //一次二路归并排序后新的有序子表存于swap中 { 用二路归并排序法对对象数组a[0]--a[n-1]排序 {-Direct insertion method to sort the R/R Hill sorting the data table<党心蕊> 在 2025-06-09 上传 | 大小:2kb | 下载:0
[数据结构常用算法] test.cpp
说明:考虑右边的无向网,设计算法输出从顶点a到顶点i的一条带权路径长度最短的简单路径.采用递归或非递归的深度优先或广度优先遍历算法扩展实现-Consider the right to the network design algorithm output realization of recursive and non recursive depth-first or breadth-first traversal algorithm extensions from the vertex a to v<叶金鑫> 在 2025-06-09 上传 | 大小:2kb | 下载:0