Beakjoon&프로그래머스/파이썬

[백준/파이썬] 28248번 Deliv-e-droid

현장 2023. 7. 17. 16:52

-Code

p = int(input())
c = int(input())
res = p * 50 - c * 10

if p > c:
    res += 500

print(res)