Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
43130 李昕霏 A+B 输入输出练习V Python3 Accepted 45 MS 3776 KB 289 2022-12-04 15:00:04

Tests(1/1):


Code:

lb=[] l=0 b=[] geshu=int(input()) for i in range(geshu): for i in map(int,input().split()): lb.append(i) for i in range(len(lb)): if i==0: continue l+=lb[i] b.append(l) lb=[] l=0 for i in range(len(b)): print(b[i])