题解 | #多组_二维数组_T组形式#
多组_二维数组_T组形式
https://www.nowcoder.com/practice/fe1e902e076b46dd82e7d42e12617893
t=eval(input()) for i in range(t): n,m=map(int,input().split()) su=0 for j in range(n): temp=sum(list(map(int,input().split()))) su+=temp print(su)#python#