搜索资源列表
LinkAndLink2
- 这是我刚刚学习C#时候编写的连连看小游戏,现在看来已经有点简单了.它的实现方式是控件数组,也就是声明了一堆Label.现在拿出来供后来者学习-just learning C# 1000 block of Terry Avenue when prepared by the small game, it now appears a bit simple. It is the way to achieve the control array is a heap of Label statement.
duifengpei.cpp
- KMP目录下是字符串的堆分配存储表示源程序,其中使用KMP算法完成模式匹配 -KMP directory is the string heap memory allocation, said the source, the use of KMP completed pattern matching algorithm
DPG
- 堆排序 一、 需求分析 问题定义: 假设定义堆为满足如下性质的完全三叉树:(1)空树为堆;(2)根结点的值不小于所有子树根的值,且所有子树均为堆。编写利用上述定义的堆进行排序的算法,并分析推导算法的时间复杂度。 -a heap sort, demand analysis definition : the assumption that to meet the definition of sculpture, the complete nature of trigemi
quanpaixu
- 冒泡排序 直接选择排序 Shell排序 快速排序 归并排序 堆排序 直接插入排序基本算法 #include<iostream.h> #include<stdlib.h> #include<time.h> const int n=100000 typedef struct{ int key }RedType typedef struct{ RedType *r //r[n+1
heapsortq
- 用C#写的堆排序,根据c语言数据结构所讲知识编写-written in C# Heap Sort, c language data structures are prepared to impart knowledge
堆排序算法的过程演示
- 数据结构堆排序算法的过程演示算法实现的源代码,望多多指教。-data structure heap sorting algorithm demonstration of the algorithm source code, looking for more information.
aa
- C#实现堆的排序算法,经过测试速度还行。与大家分享一下。互相学习-C# to achieve the sort heap algorithm, speed lines tested. To share with you some. Learn from each other
hebing
- 石子合并问题 问题描述: 在一个圆形操场的四周摆放着n 堆石子。现要将石子有次序地合并成一堆。规定每次只能选相邻的2 堆石子合并成新的一堆,并将新的一堆石子数记为该次合并的得分。试设计一个算法,计算出将n堆石子合并成一堆的最小得分和最大得分。 编程任务: 对于给定n堆石子,编程计算合并成一堆的最小得分和最大得分。 数据输入: 第1 行是正整数n,1<=n<=100,表示有n堆石子。 第二行有n个数,分别表示每堆石子的个数。 结果输出:
heap
- 是堆排序的源码,可以参考一下,编译已通过-Heap sort is the source for reference, the compiler has passed. .
duipaixu
- 一个简单的堆排序源程序,可以用堆排序的方法实现对一组数据的的重新排序-A simple heap sort source code, you can use heap sort method for a set of data re-ordering
zuixiaohuadui
- C++数据结构优先级队列实现中,二叉堆实现,根元素为最小元素,即最小化堆-C++ priority queue data structure implementation, the binary heap implemented root element for the smallest element, namely to minimize the heap
Sorting-algorithm
- 本文件包含常见经典排序算法如希尔排序、二分插入法、直接插入法、带哨兵的直接排序法、冒泡排序、选择排序、快速排序、堆排序。 -This file contains the common classical scheduling algorithms such as Hill sort, two insertion method, direct insertion method, the direct sequencing method with sentinel, bubble sort, s
CSharpSort
- 常用七种排序算法(C#代码) 快速排序、希尔排序、堆排序、选择排序等-Seven kinds of commonly used sorting algorithm (C# code) quick sort, shell sort, heap sort, selection sort, etc.
zuiduan
- 设图的顶点大于1个,不超过30个,每个顶点用一个编号表示(如果一个图有n个顶点,则它们的编号分别为0, 1, 2, 3, …, n-1)。 此题为求有向网中顶点间最短路径问题,可建立以票价为权的邻接矩阵,用Dijkstra算法求最短路径长度。 Dijkstra算法中有一个辅助向量D,表示当前所找到的从源点到其它点的最短路径长度。因为每次都要在D中找最小值,为提高性能,用最小值堆的优先队列存储D值。 -Let the vertex is greater than 1, no more
sorting-algorithms
- C++编写的各种排序算法。包括插入排序、堆排序、归并排序、基数排序、冒泡排序、希尔排序、选择排序、直插排序。-C++ written various sorting algorithms. Including insertion sort, heap sort, merge sort, radix sort, bubble sort, shell sort, selection sort, in-line sort.
zuiduanlujing
- 该程序使用VC编写的,其主要是实现ACM堆最短路径的功能。- The program uses the VC, which is to achieve the shortest path ACM heap functions.
tuopupaixu
- 该程序使用VC编写的,其主要是实现ACM堆拓扑排序的功能。-The program uses the VC, which is mainly realized ACM heap topological sorting function.
HEAP
- Implementation of heap tr-Implementation of heap tree
BTREE
- Implementation of heap tr-Implementation of heap tree
try12
- try12文件描述:堆排序 经典算法 计算复杂度 O(NLOGN) VOID MAIN函数包括 -try12 File Descr iption: Classic heap sort algorithm complexity O (NLOGN) VOID MAIN functions include