1381: 求二维数组中的最小值(11级)wk

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:22 Solved:15

Description

输入两个整数M.N,接着输入M*N的矩阵,设置将矩阵中最小的数输出。

Input

整数M,N,M*N的矩阵

Output

矩阵中的最小值

Sample Input Copy

3 3
1 23 654
123 64 987
132 6548 4

Sample Output Copy

1