로딩
티스토리 데이터 처리 중입니다.

백준: 19602번 Dog Treats (Python3)

 백준: 19602번 Dog Treats (Python3)

백준: 19602번 Dog Treats (Python3) Dog Treats 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 2 초 512 MB 1214 1033 974 85.289% 문제 Barley the dog loves treats. At the end of the day he is either happy or sad depending on the number and size of treats he receives throughout the day.

The treats come in three sizes: small, medium, and large. His happiness score can be measured using the following formula: 1 × S + 2 × .....