Run ID:67244

提交时间:2024-03-16 11:11:52

n,m=input().split() c1=0 c2=0 for i in range(int(m),int(n)+1): if i%2==0: c1+=i else: c2+=i print(c1,c2)