본문 바로가기
백준문제/브론즈 4

백준) 30794번 - python

by kiseno 2024. 5. 4.
728x90
반응형
SMALL
hit = {"miss" : 0, "bad" : 200, "cool" : 400, "great" : 600, "perfect" : 1000}

node ,result = input().split()
node, answer = int(node), 0
if result in hit.keys(): answer = node * hit[result]
print(answer)
728x90
반응형
LIST

'백준문제 > 브론즈 4' 카테고리의 다른 글

백준) 30868번 - python  (0) 2024.05.06
백준) 30468번 - python  (0) 2024.05.05
백준) 30008번 - python  (0) 2024.05.03
백준) 28352번 - python  (0) 2024.05.02
백준) 28290번 - python  (0) 2024.05.01