| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 85968 | 丁俊杰 | 矩阵行交换 | Python3 | Wrong Answer | 36 MS | 3780 KB | 313 | 2024-07-21 15:56:05 |
results=[] n,m=map(int,input().split()) for x in range(5): a=list(map(int,input().split())) results.append(a) for x in range(5): results[0][x],results[4][x]=results[4][x],results[0][x] for row in range(5): for col in range(5): print(results[row][col],end=" ") print()
------Input------
3 4 1 2 3 4 5 2 3 4 5 6 3 4 5 6 7 4 5 6 7 8 5 6 7 8 9
------Answer-----
1 2 3 4 5 2 3 4 5 6 4 5 6 7 8 3 4 5 6 7 5 6 7 8 9
------Your output-----
5 6 7 8 9 2 3 4 5 6 3 4 5 6 7 4 5 6 7 8 1 2 3 4 5