-->
当前位置:首页 > 题库

PROGRAMMING:Output the minimum value of each column of the two-dimensional array

Luz5年前 (2021-05-10)题库457
This problem requires programming, output a given M × The minimum value of each column element of N matrix.
###Input format:
Enter the first line to give two positive integers m and n (1 ≤ m, n ≤ 10). Then m lines, each line gives n integers separated by spaces.
###Output format:
Each row outputs the minimum value of the corresponding matrix column element.
###Input example:
```in
3 4
3 1 5 2
1 -4 6 7
1 0 2 3
```
###Output example:
```out
one
-4
two
two
```






answer:If there is no answer, please comment