Run ID:67161

提交时间:2024-03-14 20:00:18

def sum(a,b): res=a+b*(b-a+1)//2 return a,b print(sum(1,10)) print(sum(20,30)) print(sum(35,45))