Given a square matrix of (with ) of integers, its matrix minMax is the matrix of such that for all (with ), is the minimum element of the -th row of and is the maximum element of the -th column of .
For instance, if ,
Implement the @min_Max(M)@ function that given the square matrix returns its minMax matrix.
You can use the @min()@ and @max()@ functions of Python, that given a list, they return their minimum and maximum element respectively.
Author: Professors Informàtica EEBE
Generation: 2026-01-25T17:41:16.984Z
© Jutge.org, 2006–2026.
https://jutge.org