搜索资源列表
cctttt
- 输入一组整数存放在数组中,比较并输出其中的最大值和最小值,再将数组元素从小到大排序并输出。-importation of a group integer stored in the array, the more output and the maximum and minimum. then array elements from small to large sequencing and output.
student
- 学员成绩管理系统(设计+代码)。用Java编写一个程序实现学员成绩管理,每个学员包括3门课的成绩,从键盘输入学员信息(最多输入20个,但最少并不知道),包括学号(String)姓名(String) 三门课成绩(用整形数组来存)计算出学员的平均成绩(float),按照学员平均成绩由大到小排序插入功能:在排序后的学员成绩表中插入一个学员的信息,要求插入后仍然保持成绩表有序删除功能:要求输入指定的学号,从学员信息表中删除该学员,删除后的成绩表保持有序
SVN_Total
- StatSVN能够从Subversion版本库中取得信息,然后生成描述项目开发的各种表格和图表。比如:代码行数的时间线;针对每个开发者的代码行数;开发者的活跃程度;开发者最近所提交的;文件数量;平均文件大小;最大文件;哪个文件是修改最多次数的;目录大小;带有文件数量和代码行数的Repository tree。StatSVN当前版本能够生成一组包括表格与图表的静态HTML文档。
maxAndMin
- 找出数组中的最大元素和最小元素,元素的和,以及各个元素的平均值。并对数组进行排序。-find Max,Min elemens form a array,caculate the sum and average of elements in array,and the sort the array
java3
- 3、求一组数中的最大与最小值。 用一维数组来存放以Math.random ()方法产生的一组随机数。 程序运行结果: table:84 40 16 3 10 49 28 76 94 70 Max=94 Min=3 -3, seeking a set number of maximum and minimum values. With one-dimensional array to store in order to Math.random () method produ
Main
- 附件中演示了java中线程的创建和使用,所实现的功能是使用线程实现求取二维数组中的最大值-Java in the annex demonstrates thread creation and use of the function is achieved using two-dimensional array of thread to achieve the maximum strike
CalculateTheSummary
- 1. 编写一个程序打印数出有10个元素的浮点数组a1中最大值和最小值。 2.将有10个元素的数组a1 拷贝至含有15个元素的数组b1的一段位置。 3.将一个已存入数组中的值45,89,7,6,0,按0,6,7,89,45的次序打印出来。 4. 求一个3*3矩阵对角线元素之和。 5.设某个一维数组中有25个元素,编写一个顺序查找程序,从中查找值为80的元素在数组中的位置。 -1. Write a program that prints out a number of floa
Java
- Java数组的应用: 1、二维数组中求最大最小值 2、数字排序_字母 3、数组的经典算法 4、数组的逆序 5、杨辉三角-Java array of applications: 1, two-dimensional array in seeking maximum and minimum 2 letters numbers sort _ 3, the array of classic algorithms 4, 5 Yang Hui triangle array reverse
java
- 求一维int型数组A中元素的最大值,最小值,并将并将其输出;编写打印三个矩形的程序;-Seeking a one-dimensional array of type int elements maximum, minimum, and and outputs writing a program to print three rectangular
ArrayInput
- 个人原创代码:编写Java Application程序, 从命令行参数输入10个整数并保存在数组中,求数组中最大、最小、数据的和、平均值。-Personal original code: write a Java application program, enter 10 integers from the command line parameters and stored in the array, find an array of maximum, minimum, data and av
8.13
- 设计一个名为Location的类,定位2维数组中的最大值及其位置。-The design of a class called Location, to locate the maximum value and its position in the 2-dimensional array.
7.13
- 返回二维数组中的最大元素的位置 public static int[] locationLargest(double[][] a)-The Back the location of the largest element in the two-dimensional array public static int [] locationLargest (double [] [] a)
TwoDimensional
- 二维表1、 编写一个Java应用程序,计算并输出一维数组(9.8,12,45,67,23,1.98,2.55,45)中的最大值和最小值。-Dimensional table, write a Java application to calculate and output the maximum and minimum values of the one-dimensional array (9.8,12,45,67,23,1.98,2.55,45).
viviom
- 设计一个名为Location的类,定位二维数组中的最大值及其位置。这个类包括公共的数-Design of a class called Location, location of the maximum two-dimensional array and its location. This class includes a number of public
FindZero
- 给出一个数组,求数组中连续0的最大个数,即返回连续0的最大个数-Given an array, and find the maximum number of consecutive 0 in the array
LocateLargest
- 提示用户输入一个二维数组,然后显示这个数组中最大元素的位置,返回值为包含两个元素的以为数组 -Prompts the user to enter a two-dimensional array, and then display the location of the largest element of the array, the return value is an array that contains two elements
Maximum-Subarray
- 求一个数组中的连续的和最大的子数组。采用滑动窗口解决。sum 如果小于0,置为0,再加上当前值。然后再与max相比,取大的-Seeking a continuous array and the largest sub-array. Sliding window resolved. If the sum is less than 0, set to 0, plus the current value. Then compared to the max, whichever is greater
proj-1
- 在一个元素值100以内,含20元素的一维整型数组元素中,求最大值、平均值、统计其中素数个数-In one element of value less than 100, including a one-dimensional integer array element 20, seeking maximum, average, statistics on the number of primes
two
- 写一个类Army,代表一支军队,这个类有一个属性Weapon数组w(用来存储该军队所拥有的所有武器),该类还提供一个构造方法,在构造方法里通过传一个int类型的参数来限定该类所能拥有的最大武器数量,并用这一大小来初始化数组w。该类还提供一个方法addWeapon(Weapon wa),表示把参数wa所代表的武器加入到数组w中。在这个类中还定义两个方法attackAll()让w数组中的所有武器攻击;以及moveAll()让w数组中的所有可移动的武器移动。 (6)写一个主方法去测试以上程序。(Wr