본문 바로가기
python-algorithm

[백준] 11948

by 무적김두칠 2020. 12. 16.

1
2
3
4
5
6
7
a=int(input())
b=int(input())
c=int(input())
d=int(input())
e=int(input())
f=int(input())
print(max(a+b+c,a+b+d,a+c+d,b+c+d)+max(e,f))
cs
반응형

'python-algorithm' 카테고리의 다른 글

[백준] 14470  (0) 2020.12.16
[백준] 13866  (0) 2020.12.16
[백준] 11943  (0) 2020.12.16
[백준] 10768  (0) 2020.12.16
[백준] 10179  (0) 2020.12.16

댓글