yuns
숫자 카드 게임 본문
반응형
n, m = map(int, input().split())
res = 0
for _ in range(m):
data = list(map(int, input().split()))
#가장 작은 수
minValue = min(data)
#작은 수 중 큰 수
res = max(res, minValue)
print(res)
반응형
'algorithms > #3 Greedy algorithm' 카테고리의 다른 글
1이 될 때까지 (0) | 2020.11.04 |
---|---|
큰 수의 법칙 (0) | 2020.11.04 |
Comments