HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Array and Matrices > problem:


51193 - The max element of k-th column

Volume problems

• 50587 - Modular Conversion
• 50592 - Matrix Multiplication
• 50594 - Transformations
• 50653 - Long Divide
• 50767 - Censor
• 50768 - Where is Waldorf?
• 50792 - The student with the highest...
• 51182 - Count and Sum 2
• 51193 - The max element of k-t...
• 51196 - The sum of two arrays
• 51197 - Even and odd Numbers
• Problem 3
• 50468 - Draw Matrix - 2
• 010. 50381 - Sum of the numbers
• 030. 50737 - Sum of the k-largest n...
• 060. 50389 - Reverse an Array
• 100. 50330 - Find the average of n ...

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
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

 

Для отправки решений необходимо выполнить вход.

www.contester.ru