Min and Max

  • + 0 comments
    import numpy
    
    N, M = map(int,input().split())
    arr = numpy.array([input().split() for i in range(N)], int)
    print(numpy.max(numpy.min(arr,axis=1),axis= None))