Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
43137 | 陈宣霖 | A+B 输入输出练习IV | Python3 | Accepted | 42 MS | 3776 KB | 299 | 2022-12-04 15:18:01 |
l=[] res=[] while True: for i in map(int,input().split()): l.append(i) if l[0]==0: break count=0 for i in range(len(l)): if i==0: continue count+=l[i] res.append(count) l=[] for i in res: print(i)