You are viewing a single comment's thread. Return to all comments →
import numpy
n, m = map(int, input().split())
data = []
for _ in range(n): data.append(list(map(int, input().split())))
array = numpy.array(data)
print(numpy.max(numpy.min(array, axis=1)))
Seems like cookies are disabled on this browser, please enable them to open this website
Min and Max
You are viewing a single comment's thread. Return to all comments →
import numpy
n, m = map(int, input().split())
data = []
for _ in range(n): data.append(list(map(int, input().split())))
array = numpy.array(data)
print(numpy.max(numpy.min(array, axis=1)))