You are viewing a single comment's thread. Return to all comments →
import numpy
N, M = map(int, input().split()) listt = []
for i in range(1, N + 1): listt.append(list(map(int, input().split(" "))))
print(numpy.max(numpy.min(numpy.array(listt), 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()) listt = []
for i in range(1, N + 1): listt.append(list(map(int, input().split(" "))))
print(numpy.max(numpy.min(numpy.array(listt), axis=1)))