본문 바로가기
python-algorithm

[백준] 18408

by 무적김두칠 2021. 3. 9.

1
2
3
tmp=list(map(int, input().split()))
if sum(tmp)/3>1.6print(2)
elseprint(1)
cs

숫자를 카운팅해도 되고 저처럼 합으로 해도 구현되구요

반응형

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

[백준] 18414  (0) 2021.03.09
[백준] 18411  (0) 2021.03.09
[백준] 18330  (0) 2021.03.08
[백준] 18005  (0) 2021.03.08
[백준] 17874  (0) 2021.03.08

댓글