This website works better with JavaScript
首页
发现
帮助
注册
登录
AOJTeam
/
Contest1458
关注
5
点赞
0
派生
0
文件
工单管理
0
合并请求
0
Wiki
目录树:
3bcfdbae7a
分支列表
标签列表
master
Contest1458
/
Python
/
C.py
C.py
113 B
文件历史
原始文件
1
2
3
4
5
while True:
s = list(map(int, input().strip().split()))
if s[0] == 0:
break
print(sum(s[1:]))