Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
302978 李南笙 【C2-2】编程求解1+2+3+...+n Python3 通过 100 123 MS 3732 KB 94 2024-12-06 19:07:13

Tests(4/4):


n = int(input()) sum = 0 a =1 while a <= n: sum =sum + a a+=1 print(sum)


测评信息: