Min and Max

  • [deleted]Challenge Author
    + 0 comments

    For Python3

    from numpy import array, min, max
    
    n, m = map(int, input().split())
    arr = array([input().split() for i in range(n)], dtype=int)
    
    print(max(min(arr, axis = 1)))