Run ID:95151
提交时间:2024-10-27 08:49:17
n,m=map(int,input().split()) s=0 h=0 for x in range(n,m+1): if x%2==0: s=s+x else: h=h+x print(s,h)