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