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