Min and Max

  • + 0 comments
    import numpy
    
    
    n, m = map(int, input().split())
    
    l = []
    for _ in range(n):
        l.append(list(map(int, input().split())))
    
    np_arr = numpy.array(l)
    
    print(numpy.max(numpy.min(np_arr, axis=1)))