搜索资源列表
LSDsortusearray
- 简单的桶式排序,基于VC6.0,用数组实现的,有充足的注释。-LSDsort
Sort-for-random-numbers-
- 本程序是随机生成一组数,然后对它们进行排序。-This program is a set of randomly generated number, then sort them.
a
- 程序运行后,给出6个菜单项的内容和输入提示,具体如下:1. 数字排序 2. 字符查找3. 矩阵变换 4. 结构体数组5. 三次方程 6. 字符串删减7. Goodbye!-Program runs six menu items and input prompts are given as follows: 1. Sort of figure 2. Characters find the three matrix to transform the structure array. Cubi
insert_sort
- 插入排序算法的C++实现,可以对任意大小的整型数组实现排序功能。-C++ to achieve the insertion sort algorithm can be of any size integer array sorting function.
sushe
- 优秀学生宿舍管理系统 利用数组对宿舍的记录进行循环输入输出,利用冒泡法记录进行排序,利用循环查找数组中某个数据,对其进行显示,删除,读入和写入文档等操作-Excellent student hostel management system using array loop input and output record quarters, bubble method to sort the records by cyclic Find a data array, its display, de
algorithm-CPP
- 数据结构面试常考算法,C++实现 包含数组、字符串、链表、二叉树、排序-Interview data structures algorithm, C++ contain arrays, strings, linked lists, binary trees, sorting
Post-Office
- 算法设计与分析中邮局选址问题。 select(int[] array, int begin, int end, int middle)将n个输入元素划分成n/5个组,每组5个 元素,只可能有一个组不是5个元素。用任意一种排序算法,将每组中的元素排好序,并取出每组的中 位数,共n/5个。找出这n/5个元素的中位数。如果n/5是偶数,就找它的2个中位数中较大的一个。 以这个元素作为划分基准。在调用时,只需要将middle参数传入array.length/2就能找到整个数组中的
HeapSort
- 堆排序实现,输入数组大小和数组序列(空格分隔),输出升序降序排列。-heap sort
QuickSort
- 在VS 2008中,用C语言写的快速排序算法。不用多余的数组,直接对原数组进行排序。在递归调用中,对于【数组组就是数组首地址】的理解会更加通透。-In VS 2008, using C language to write quick sort algorithm. No extra array directly to the original array to be sorted. In the recursive call, the group is the first address of
RadixSort
- 数据结构中的基数排序,这里是通过二维数组实现,简单易懂-Data structure radix sort, here is achieved through a two-dimensional array, easy to understand
BubbleSort
- 简单的冒泡排序的实现 并在控制台输出排序后的数组-Simple bubble sort of realized and the console output sorted array
PA1_1(1)
- 描述 教练员A、B和C将要从编号为1到n的队员中挑选自己的队员。为公平起见,每个教练都根据自己的喜好程度将队员排序;你负责根据以下规则为他们分配队员。 你拿到的数据是a、b、c三个数组,表示三个教练对队员的喜好程度排序,每个数组都是数字1到n的一个排列,下标越小表示教练越喜欢该队员。你的分组规则是,从还未被分配的队员中找一个教练A最喜欢的队员分到A组;然后,在未分配的队员中分配教练B最喜欢的队员到B组;然后是教练C;再是教练A、B......依次类推直到所有队员分配完毕。