Run ID:67247

提交时间:2024-03-16 11:18:36

m,n=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)