Run ID:144421
提交时间:2026-01-22 12:55:05
n,m=map(int,input().split()) sum=0 if n>m: m,n=n,m for i in range(n,m+1): sum+=i print(sum)