搜索资源列表
merge_sort
- 归并算法的C++实现,用C++实现归并算啊,可以对任意大小数组排序。-Merge algorithm C++ achieve the achieve with C++ merge operator, you can sort on any size of array.
ShellSort
- Algoritm Shell from sort array
Week4.cpp
- Array s in 4 Tasks in one file. 1 task have a random array and need to sort array, 2 task - minimal and maximal element, 3 task - just need to elements and their numbers 4 task - it s the same - find to maximal and minimal but with alternative method
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.
QuickSort
- 快排,这个是我认为写得最好的快排代码了。快速排序可以在log2(n)的时间内对数组元素进行排序。-Fast row, this is my opinion, the best written fast row code. Quicksort log2 (n) time to sort the array elements.
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
sort
- Sort vesicle (exchange). The idea of the method: sorting step is to pass upward through the array. By way of a pair of adjacent elements are viewed. If the elements of a pair are in the wrong order, then change their positions.
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
fulpartition
- 用递归的方法,对一个给定的数组,输出它的全排列-For a given array, output its full sort of array
set1
- 教练员A、B和C将要从编号为1到n的队员中挑选自己的队员。为公平起见,每个教练都根据自己的喜好程度将队员排序;你负责根据以下规则为他们分配队员。 你拿到的数据是a、b、c三个数组,表示三个教练对队员的喜好程度排序,每个数组都是数字1到n的一个排列,下标越小表示教练越喜欢该队员。你的分组规则是,从还未被分配的队员中找一个教练A最喜欢的队员分到A组;然后,在未分配的队员中分配教练B最喜欢的队员到B组;然后是教练C;再是教练A、B......依次类推直到所有队员分配完毕。-Coach A
PA1_1(1)
- 描述 教练员A、B和C将要从编号为1到n的队员中挑选自己的队员。为公平起见,每个教练都根据自己的喜好程度将队员排序;你负责根据以下规则为他们分配队员。 你拿到的数据是a、b、c三个数组,表示三个教练对队员的喜好程度排序,每个数组都是数字1到n的一个排列,下标越小表示教练越喜欢该队员。你的分组规则是,从还未被分配的队员中找一个教练A最喜欢的队员分到A组;然后,在未分配的队员中分配教练B最喜欢的队员到B组;然后是教练C;再是教练A、B......依次类推直到所有队员分配完毕。