<reponame>batetolast1/Hyperskill
<b>Symmetric matrix</b> <a class=right href="https://hyperskill.org/learn/step/1936">Open on JetBrains Academy</a>
<br><br>
<html>
 <head></head>
 <body>
  <p>Given the number n, not exceeding 10, and a matrix of size n × n. <br></p>
  <p>Check whether this matrix is symmetric in relation to the main diagonal. Output the word “YES”, if it is symmetric and the word “NO” otherwise.</p>
 </body>
</html><br><b>Sample Input:</b><br>3<br>0 1 2<br>1 2 3<br>2 3 4<br><b>Sample Output:</b><br>YES<br><br><br><font color="gray">Memory limit: 256 MB</font><br><font color="gray">Time limit: 1 second</font><br><br>
<a href="https://hyperskill.org/learn/step/1933">Show topic summary</a>