Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67161 展博 函数求和 Python3 Wrong Answer 26 MS 3740 KB 109 2024-03-14 20:00:18

Tests(0/1):


Code:

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))


Run Info:

------Input------
0
------Answer-----
55 275 440
------Your output-----
(1, 10) (20, 30) (35, 45)