Files
kattis/astackofgold.py

4 lines
89 B
Python

w, s = map(int, input().split())
c = s * (s + 1) / 2
print(int((w - (c * 29260)) / 110))