| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 153229 | 胡海峰老师 | 矩阵旋转 | Python3 | Accepted | 56 MS | 4924 KB | 414 | 2026-05-10 14:46:50 |
rows,cols = input().split() rows,cols = int(rows),int(cols) a = [] for i in range(rows): tmp = input().split() a .append(tmp) b = [] t = 0 for col in range(cols): tmp =[] for row in range(rows-1,-1,-1): x = t//rows y = t% rows tmp.append( a[row][col] ) b .append(tmp) for row in b: for item in row: print(item,end=" ") print()