Online Judge
Toggle navigation
童织码
首页
问题列表
状态
作业
帮助
登录
首页
状态
302980
Run ID
作者
问题
语言
测评结果
分数
时间
内存
代码长度
提交时间
302980
俞苈轩
【C2-2】编程求解1+2+3+...+n
Python3
通过
100
183 MS
3740 KB
86
2024-12-06 19:11:31
Tests(4/4):
s=int(input()) sum=0 a = 1 while a <= s: sum = sum + a a += 1 print(sum)
测评信息: