← Back to List

24087번: アイスクリーム (Ice Cream) ↗

Solutions

Python 3
86 B | 86 chars
s,a,b,*t=map(int,open(0).read().split())
t=max(s-a,0)
print((t//b+bool(t%b))*100+250)