Run ID:144440
提交时间:2026-01-22 19:25:37
n,m=map(int,input().split()) n=min(n,m) m=max(n,m) z=0 for i in range(n,m+1): z+=i i+=1 print(z)