Min and Max

  • + 0 comments

    import numpy as np

    m, n = map(int, input().split())

    lst = []

    for _ in range(m):

    lst.append( list(map(int, input().split())))
    

    print(np.max(np.min(np.array(lst), axis = 1)))