최소 직사각형1 프로그래스머스-최소 직사각형-python 프로래그래스머스 최소 직사각형-python def solution(sizes): for i in sizes: i.sort() wl=[] hl=[] for w,h in sizes: wl.append(w) hl.append(h) mwl=max(wl) mhl=max(hl) answer = mwl*mhl return answer 2023. 11. 23. 이전 1 다음