Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
43421 蔡璟恒 A+B 输入输出练习V Python3 Accepted 36 MS 3816 KB 277 2022-12-11 14:42:52

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)