Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
89599 蔡胤泽 [在线测评解答教程] 求和 Python3 Accepted 61 MS 3764 KB 66 2024-08-25 15:24:41

Tests(10/10):


Code:

while 1: n = int(input()) m = (1 + n)*n//2 print(m)