搜索资源列表
yuanma
- 1.大型稀疏线性方程组的求解 A*X=b 。 2. 一维数组冒泡法排序算法 4.矩阵求逆 5. 改进的牛顿算法——弦割法 -1. Large sparse linear equations, the solution X = A * b. 2. One-dimensional array Bubble Act Sorting Algorithm 4. 5 matrix inversion. Improved Newton's algorithm -- S
Interview
- 网上流传的5个面试题目,采用C#语言编写。题目如下: 一、设计一个自然数数组,包含50个范围在(0,200)的自然数,并从小到大排列,随机产生一个范围在(0,200)自然数,去数组中用二分查找法查找,如果存在返回值并获取这个数在数组中的位置(第几个);如果不存在,返回假。 要求: 1。编写初始化数组。并提供借口显示数组序号和内容; 2。对数组排序,并提供接口显示数据需要和内容; 3。随机产生自然数; 4。用二分法查找随机数。 二、设计一个程序,当主窗口显示时,从窗口客
PeakValue
- 一维序列中峰值提取//Data为待分析的数组;peak为排序后的数组; //m 为Data数组大小;n 为peak数组的大小。 //m_Min 为Data数组中最小值 //假设峰值个数PN>n
CAGMIVH
- 此程序是关于多维数组多次排序的一个小程序。
Level_B
- 编制一维数组排序程序。数组大小n用全局变量定义,数组数据从文本文件中读入或随机生成。包含冒泡排序、选择排序、插入排序三种排序方法。程序能够选择使用任何一种方法排序。-The preparation of one-dimensional array sorting program. Array size n with the global variable definition, an array of data read from a text file or randomly generate
xxx
- 算法设计与分析 合并排序 对输入的一组数从小到大排序-Merge sort algorithm design and analysis of the input from a group of number
sort
- 本段代码不但可以给出一个数组中元素大小的排序,还可以同时输出各个元素的在数组的序号。-The sections of the code can be given not only a sort of elements in the array size, and can also output the serial number of each element in the array.
quicksort
- 自定义数组长度的快速排序-Quick sort of self-defined array length
5
- 1、金币银币问题:有若干币值不同的金币和银币,任一金币的价值都大于所有银币,要求按价值由小到大排列所有货币。 模型分析:用数组存放所有的整数,奇数(偶数)代表金币,偶数(奇数)代表银币,按先偶后奇(先奇后偶)的顺序整理数组,然后分别对偶数列和奇数列进行排序。 将程序补充完整 2、十进制向任意进制(二进制,八进制,十六进制)数转换,输入十进制数n和一个进制类型x,将n转换为x进制输出-Gold coins: a number of different denominations of
acm1071
- 对二维数组某一列排序 对二维数组某一列排序 对二维数组某一列排序-arrays method
sleep_algorithm
- 这是睡眠排序算法的Go语言版,该算法是一个天才程序员发明的,想法很简单,就是针对数组里的不同的数开多个线程,每个线程根据数的大小睡眠,自然睡的时间越长的,数越大-This is the sleep the Go language version of the sorting algorithm, the algorithm is a genius programmer invention, the idea is simple, it is a different number for the
Young_Matrix
- 在一个二维数组中,每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递 增的顺序排序。请完成一个函数,输入这样的一个二维数组和一个整数,判断数组中是否含 有该整数-In a two-dimensional array, each row is sorted in ascending order from left to right, each column from top to bottom in order of increasing order. Completion of
Cpp1
- 输入指定个数的数据,对其进行快速排序,然后输入一个数据,在排序好序的数组中找到其位置。-Enter the specified number of data, its quick sort, and then enter a data sorted in order to find its place in the array.
sortquick
- 在linux环境下,采用mpi并行,C语言,实现对数组的快速排序。输出结果为数组从小到大排序的结果。可以实现多处理器共同对一组数的排序。-In linux environment, using mpi parallel, C language, to achieve quick sort the array. The output is an array of small to large results. Can achieve more together on a number of gro
Matrix-AlgorithmMat
- 该java文件内包括了矩阵的加减乘除,矩阵求逆,矩阵求秩,矩阵转置,数组从大到小和从小到大排序等常用算法,是工科同学算例的仿真必备 -The java file, which includes both matrix addition, subtraction, matrix inversion, matrix rank, matrix transpose, array descending and ascending order and other commonly used algori
Paixu
- 输入一组数,对这个数进行排序,按照一定的规律排序-Enter a number, the number of this sort, sort according to certain rules
quicksort
- 用python写的快速排序代码,可以实现输入一组数组的快排-Write a quick sort using python code, you can enter a group to achieve an array of fast row
