#12610: line4 WA???


r2005.wang@gmail.com (王藝誠)


您的答案為: 200
正確答案為: 202
嗚嗚嗚嗚嗚嗚嗚嗚嗚嗚嗚嗚嗚嗚嗚
誰能救我??
Python

for t in range(10):
i=input().split()
times=0
can=True
n=int(i[0])
total=0
while can:
n+=1
total+=n
if total>int(i[1]):
can=False
print(n-int(i[0]))
=============================