Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
72092 陆宥呈 矩阵对角线 Python3 Compile Error 0 MS 0 KB 262 2024-04-30 20:49:23

Tests(0/0):


Code:

n,num = map(int,input().split()) a = [list(map(int,input().split())) for x in range(n)] for i in range(n): for j in range(n): if i==j or i+j == n-1: a[i][j] += num for row in a: for ele in row: print(str(ele).rjust(5),end='') print()


Run Info:

Sorry: TabError: inconsistent use of tabs and spaces in indentation (Main.py, line 6)