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