Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
302134 叶俊希 【C2-2】编程求解1+2+3+...+n Python3 通过 100 181 MS 3752 KB 77 2024-11-29 19:35:19

Tests(4/4):


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


测评信息: