搜索资源列表
35
- 编写一个函数fun,找出一维数组的最大值和它所在下标-make a function which can get the max value and its market。
basicfunction
- 完成二维数组求最大值,最小值,四舍五入等的函数,并求出最大值,最小值所在的位置。-Completed the two-dimensional array to seek maximum, minimum, rounded function, and calculated the maximum and minimum value of the location.
sub-sequence
- 首先开设一个空间比较大的数组,从数组尾部开始。比较最后一个数和最 初设置在数组中的一个最大值,使得最小子序列及最小子序列初始化。记录在当前位置的最小子序列数,接着,继续与在其前面相邻的数进行比较。如果后者大于前者,者比较二者携带记录的最小子序列数的大小,如果后者持有的最小子序列数大于前者,则以后者为基准,最小子序列保持不变。反之,则将后者的子序列数自加一,将其改为前所持有的最小子序列数。继续重复前面的动作,最后得出最长不下降子序列的数目及内容。 -First to open a larg
array
- 用引用的方法求二维数组的最大值及其下标,谭浩强书上的-Use the methods to controls.
MAX
- 求最大值,调用一某个函数来求最大值,你想求什么的最大值主能求什么的最大值,但是是数组的哦-GET THE MAX NUMBER
ex
- 设计一个函数,其功能是同时求得长度为20的整型数组所有元素中的最大值、最小值和平均值。并用相应的主函数对其进行测试,测试数组可以用随机数填充或者自行定义数据。-The design of a function, its function is to obtain the length of the maximum, minimum and average 20 integer array element. And its main function testing, the test array
JFrame2
- 求若干整数的最大值、最小值和平均值。输入若干整数或浮点数,求出最大值和最小值并显示。要求:使用JTextField数组或表格,数组值可变;响应事件,计算最大值、最小值和平均值时忽略空值和空串;按实际元素个数求值;解决除数为0问题。-Find the maximum, minimum, and average values of certain integer. Enter the number of integer or floating-point numbers,
calculate-ug-lafengxia
- 对一组有序数组进行计算,当输入该数组中最大值与最小值后计算出新的有序数组,各数在新数组中的比例大小一样。-A set of ordered array calculated when the input of the array to calculate the maximum and minimum value after an ordered array of the same size as the proportion of each in a new array.
fenzhifa
- 分治法求数组中最大值和最小值,与普通方法比较-Divide and conquer method for the maximum and minimum values in the array, compared with the conventional method
123
- 用递归二分检索求一组数中的最大值,代码较简单-Recursive binary search find a number of groups in the maximum, the code is relatively simple
12
- 对快速排序C++实现,求数组中的最大值或最小值都可。-For quick sort C++ achieve, find the maximum or minimum value in the array can be.
Q_Project_1031
- 找鞍点(在每一行上是最大值,每一列是最小值的二维数组)-Find a saddle point (on each line is a maximum, minimum value of each column is a two-dimensional array)
mxn_malloc_topscore
- 编写一个能计算任意m行n列的二维数组中的最大值,并指出其所在行列下标的函数,利用该函数和动态内存分配方法,计算任意m个班、每班n个学生的某门课成绩的最高分,并指出具有该最高分成绩的学生是第几个班的第几个学生。-Write a two-dimensional array can calculate any m rows and n columns maximum value, noting that the underlying function in their ranks, the use o
pan-duan-da-xiao
- 利用gpu检索4个存有double数值的数组中的最大值-Use gpu retrieve four maximum array
therad
- 利用多线程实现多一个int数组的求平均值,最大值和最小值。-use thread for a array.
6_33
- 好用的程序.从键盘输入一个3*2的整型数组,将每一列的最大值显示输出。-It s good.Input the keyboard, a 3* 2 integer array to a maximum of each column display output.
shuzu
- 对输入的整型数组,输出数组元素中的最大值、最大值的个数、最小值和最小值的个数.根据数组知识结合指针进行实现。-Integer array of input and output array element maximum number of maximum, minimum, and the number of minimum. According to achieve a good array of knowledge.
[3x4]
- 三乘四二维数组 求所有元素中最大值,这个程序很简单的,大家看看就好-Three in four two-dimensional array for all elements in the maximum
test3
- 令n=2的m次方,A是一个2n维的数组,待求最大值的数存放在A(n),A(n+1),……A(2n-1)中,所求得的最大值置于A(1),于是算法描述如下: 输入:n=2的m次方个数存在数组A(n;2n-1)中; 输出:最大数置于A(1)中。 -So that n = m th power of 2, A is a 2n-dimensional array, to be seeking the maximum number stored in A (n), A (n+
test1
- 编写C语言程序,要求实现如下功能: (1) 输入10个人的成绩; (2) 输出这10个成绩的最大值、最小值和平均值; (3) 使用数组存储成绩; (4) 使用三个函数分别返回最大值、最小值和平均值。