def f():
matrix = list()
N = int(input())
for i in range(N):
line = tuple(map(eval,input().strip().split()))
matrix.append(line)
for row in range(N):
for column in range(row+1,N):
if matrix[row][column] != matrix[column][row]:
print("No!")
return
print('Yes!')
return
try:
while True:
f()
except EOFError:
pass
KY220 对称矩阵
最新推荐文章于 2024-08-21 16:55:34 发布