We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
import numpy as np
def task(arr):
np_array = np.array(arr)
min_array = np.min(np_array, axis=1)
return np.max(min_array)
if __name__ == '__main__':
arr = []
n, m = list(map(int, input().split()))
arr.append([n, m])
for i in range(n):
arr.append(list(map(int, input().split())))
result = task(arr)
print(result)
Cookie support is required to access HackerRank
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 →
`