Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
83815 胡海峰老师 矩阵行交换 Python3 Accepted 34 MS 3752 KB 134 2024-07-15 08:36:30

Tests(2/2):


Code:

m,n = map(int,input().split()) a = [input().split() for x in range(5)] a[m-1],a[n-1] = a[n-1],a[m-1] for row in a: print(*row)