Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
43413 张子莘 A+B 输入输出练习V Python3 Accepted 43 MS 3808 KB 280 2022-12-11 14:34:09

Tests(1/1):


Code:

n=int(input()) arr=[] for i in range(n): ar=[] for j in map(int,input().split()): ar.append(j) arr.append(ar) for i in arr: count=0 for j in range (len(i)): if j==0: continue count+=i[j] print(count)