HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Array and Matrices > problem:


51193 - The max element of k-th column

Volume problems

• Trip to Librazhd
• 50912 - Trip to Librazhd
• 50914 - Buy 3, Pay 2
• 50563 - Long Modulus
• 50565 - Binary numbers
• 50569 - 12th Grade Elective Subjects
• 50594 - Transformations
• 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
• 125. 50538 - Sum of kth Diagonal
• 140. 50599 - Sum of Squared Error ...
• 15-SprPrE1-80. 50741 - DNA Distance

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