题解 | 多组_二维数组_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)


全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务