| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 71773 | 屠佳毅 | 矩阵对角线 | Python3 | Presentation Error | 49 MS | 4848 KB | 273 | 2024-04-27 16:39:54 |
n, m = map(int, input().split()) aa = [] for i in range(n): a = list(map(int, input().split())) aa.append(a) for i in range(n): for j in range(n): if i == j or i+j == n-1: aa[i][j] += m print(aa[i][j],end=" ") print()