Run ID:67162
提交时间:2024-03-14 20:01:10
def sum(a,b): res=(a+b)*(b-a+1)//2 return res print(sum(1,10)) print(sum(20,30)) print(sum(35,45))