文件名称:acm_1191
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- ji***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个程序输入一个mXn的矩阵存储并输出,并且求出每行的最大值和每行的总和。
要求把每行总和放入每行最大值的位置,如果有多个最大值,取下标值最小的那一个作为最大值。
最后将结果矩阵输出。-Write a program to input a mXn matrix storage and output, and calculated for each row and each row of the maximum value of the sum of.
For each line of the sum of each row in the position of the maximum value, if there is more than the maximum, remove the values and then as a maximum.
Finally the results matrix output.
要求把每行总和放入每行最大值的位置,如果有多个最大值,取下标值最小的那一个作为最大值。
最后将结果矩阵输出。-Write a program to input a mXn matrix storage and output, and calculated for each row and each row of the maximum value of the sum of.
For each line of the sum of each row in the position of the maximum value, if there is more than the maximum, remove the values and then as a maximum.
Finally the results matrix output.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
acm_1191\Main.java
acm_1191
........\content.txt
acm_1191
........\content.txt