Run ID:144443
提交时间:2026-01-22 19:34:50
n,m=map(int,input().split()) if n>m: n,m=m,n t=(n+m)*(m-n+1)//2 print(t)