Min and Max

  • + 0 comments

    import numpy as np n, m = input().split() l = [] for i in range(int(n)): l.append(list(map(int, input().split())))

    arr = np.array(l) minimum = np.min(arr, axis=1) maximum = set(minimum) print(max(maximum))