Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
87598 | 胡海峰老师 | 矩阵转置 | Python3 | Accepted | 45 MS | 4676 KB | 261 | 2024-08-10 20:20:14 |
n,m = map(int,input().split()) a = [ list(map(int, input().split() )) for x in range(n) ] b = [ [0]*n for x in range(m) ] #框架搭建好 for x in range(n): for y in range(m): b[y][x] = a[x][y] for row in b: print(*row)