Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86073 朱正天 A+B 输入输出练习IV Python3 Accepted 37 MS 3776 KB 223 2024-07-21 23:02:05

Tests(1/1):


Code:

res = [] while True: a = input().split() if a[0] == "0": break else: s = 0 for j in range(1,len(a)): s += int(a[j]) res.append(s) for i in res: print(i)