Run ID:79378

提交时间:2024-07-04 18:00:50

n=int(input()) a=[] for i in range(n): tmp=inpur().split() a.append(tmp) res=0 for x in range(n): for y in range(n): if x==y or y+x==n-1: res=res+aint([x][y]) pritn(res)