반응형 196021 baekjoon - python - 19602 www.acmicpc.net/problem/19602 19602번: Dog Treats There are three lines of input. Each line contains a non-negative integer less than 10. The first line contains the number of small treats, S, the second line contains the number of medium treats, M, and the third line contains the number of large treats, www.acmicpc.net S = int(input()) M = int(input()) L = int(input()) score = S+2*M+3*L if score.. 2020. 10. 14. 이전 1 다음 반응형