Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб. bfs.
The max element of k-th column.
Find the biggest element in the k-th column. .
Input specification In the first line you will be given three integer numbers, n, m and k. Where n and m are the dimensions of the matrix and k denotes the column. 0<n,m<= 100 and k>=m.
Then you will have a matrix size of nxm. All elements of the matrix are between -10000 and 10000. Output specification Sow the largest number for given column.
Sample Input I 4 4 2 9 26 16 1 -7 -8 65 57 61 3 28 33 18 60 64 27 |
Sample Input II 3 4 3 26 29 -7 40 16 35 27 -2 49 40 39 59
|
Sample Output I 60 |
Sample Output II 39
|
Для отправки решений необходимо выполнить вход.
|