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