题解 | #矩阵相等判定#

矩阵相等判定

https://www.nowcoder.com/practice/2f058b1e89ae43f7ab650c0fd0b71fa8

n,m = map(int,input().split())
a = [list(map(int,input().split())) for i in range(n)]
b = [list(map(int,input().split())) for i in range(n)]
flag = 1
if a == b:
    print('Yes')
else:
    print('No')

全部评论

相关推荐

刘湘_passion:太强了牛肉哥有被激励到
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务