搜索资源列表
zy23
- 有一个字节型数组,求最大值、最小值和平均值:1)作为无符号数,2)作为带符号。-A byte array, the maximum, minimum and average value: 1) as unsigned) as unsigned.
NSGA
- 基于matlab7以上版本的遗传算法N为种群大小,M为目标数目,V为决策变量数目,min_range为决策变量最小值数组, max_range为决策变量最大值数组,f为初始群体-Genetic algorithm N-based version of the matlab7 more than the population size, M is the number of targets, V is the number of decision variables, min_range the
MAX
- 求最大值,调用一某个函数来求最大值,你想求什么的最大值主能求什么的最大值,但是是数组的哦-GET THE MAX NUMBER
2
- 若矩阵Am?n中的某一元素A[i][j]是第i行中的最小值,同时又是第j列中的最大值,则称此元素为该矩阵的一个鞍点。假设以二维数组存放矩阵,试编写一个函数,确定鞍点在数组中的位置(若鞍点存在时),并分析该函数的时间复杂度。 -If the matrix Am? N of an element A [i] [j] is the minimum value of the i-th row, is also the maximum value of the j-th column in the,
maxminfilter
- 数组数值的最大值最小值过滤,C++程序实现-Maximum Minimum filter array values , C++ program
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,
shuzu
- 已知A[n]为整数数组,实现下列运算的递归算法: 求数组A中的最大值。 求n个整数的和。 求n个整数的平均值。 -The known A [n] is an array of integers, recursive algorithm to achieve the following operations: to seek the maximum value in the array A. Find and n integers. Find the average of n in
C
- C语言,先输入一串字符串数组,可以实现数组的反转,还可以求最大值,最小值,平均值,以及给字符串加密-C language, enter the string of an array of strings, you can achieve the reversal of the array, but also in order to the maximum, minimum, average, and to string encryption
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
1
- 用递归法求一组数组中的最大值,有较好的的性能-Recursive method for a group of maximum value in an array, a better performance
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.
P1_3
- 输入一个5*5的二维数组,将各行最大值的坐标放置在一个新的一维数组中,最后按照下面的格式输出: 第0行:12 34 23 45 7 最大值为45,坐标是(0,4)-Enter a two-dimensional array of 5* 5, placing all the coordinates of the maximum in a new one dimensional array, the output according to the following format: Row
paixu
- 编写一个使用数组类模板Array对数组进行排序,求最大值和求元素和的程序,并采用相关数据进行测试.-Write a class template Array using an array to sort the array, find the maximum and demand elements and procedures, and the use of relevant data for testing.
code
- 使用open函数、构造函数、文件流对象的成员函数打开文件,定义一个二维数组,用键盘输入二维数组的元素值,输出二维数组元素值及其最大值。 -Using open function, constructors, file stream object' s member function to open the file, define a two-dimensional array, use the keypad to enter the two-dimensional array eleme
AVERAGE-CALCULATE
- 提供两种去除最大值和最小值计算数组平均值的方案 皆只需循环一次-calculate average(without max and min)
DP
- 动态规划问题。给定一个整数的二维数组,由其中若干邻近元素构成的矩形称为子数组。 编程计算所有子数组元素之和的最大值。输入为整数n,及n^2个数,输出为所有子数组元素之和的最大值-Dynamic programming problem.Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater l
Q_Project_1031
- 找鞍点(在每一行上是最大值,每一列是最小值的二维数组)-Find a saddle point (on each line is a maximum, minimum value of each column is a two-dimensional array)