Run ID:67251
提交时间:2024-03-16 11:23:29
m,n=input().split() n,m=int(n),int(m) a=0 b=0 for x in range(m,n+1): if x%2==0: a=a+x else: b=b+x print(a,b)