1066: 二维数组最小值

Memory Limit:128 MB Time Limit:0.000 S
Judge Style:Text Compare Creator:
Submit:2 Solved:0

Description

Input

第一行,两个整数n,m,表示二维数组的行数和列数; 接下来n行,每行m个整数,表示二维数组中的元素。

Output

一行,即最小值所在的行号和列号。

Sample Input Copy

3 5
1 2 3 1 5
9 8 7 6 5
5 4 3 2 1

Sample Output Copy

1 1