Magic Square Puzzle

The 7’th test has a 7x7 array filled with 1 and it’s a magic square. But the result of the test says that it’s not magic. It wants displayed “MUGGLE” instead of “MAGIC”. Am I missing something?

Output

5 posts were merged into an existing topic: Magic Square