본문 바로가기
백준문제/브론즈 4

백준) 11948번 - python

by kiseno 2024. 4. 15.
728x90
반응형
SMALL
grade = [int(input()) for i in range(6)]
nature = grade[0:4]
nature.sort(reverse=True)
history = grade[4:6]
history.sort(reverse=True)
print(sum(nature[0:3]) + history[0])
728x90
반응형
LIST

'백준문제 > 브론즈 4' 카테고리의 다른 글

백준) 13866번 - python  (0) 2024.04.17
백준) 13752번 - python  (0) 2024.04.16
백준) 11945번 - python  (0) 2024.04.14
백준) 11720번 - python  (0) 2024.04.13
백준) 11365번 - python  (0) 2024.04.12