숫자 카드 게임_파이썬 풀이

로선생·2022년 1월 1일
0

코테준비

목록 보기
11/19

가장 작은 수들 중 가장 큰 수를 찾는다는 아이디어만 떠올리면 크게 어렵지 않았던 것 같다.

# 숫자 카드 게임

# n,m = map(int, input().split())
# data = list(map(int, input().split))

n,m = 3, 3
data = [[3,1,2],[4,1,4],[2,2,2]]

max_value = 0


for i in data:
  if max_value < min(i):
    max_value = min(i)
  
print(max_value)
profile
이제는 이것저것 먹어요

0개의 댓글

관련 채용 정보