1
2
3
|
tmp=list(map(int, input().split()))
if sum(tmp)/3>1.6: print(2)
else: print(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 |
댓글