๐Ÿ ํŒŒ์ด์ฌ ์ƒ์ดˆ์งœ

[BOJ][Python] ๋ฐฑ์ค€ 10156๋ฒˆ: ๊ณผ์ž

์„ ๋‹ฌ 2024. 9. 23. 18:47
๋ฐ˜์‘ํ˜•

https://www.acmicpc.net/problem/10156

 

k,n,m = map(int, input().split())

price = k*n
if price < m:
    print(0)
else:
    print(k*n-m)
๋ฐ˜์‘ํ˜•