Cody

Problem 2620. Determine the Anti-diagonal of a Magic Square

Determine the anti-diagonal (crossing from top right to lower left) of a magic square of size n.

Examples

If n = 3

 y = 6 5 4

If n = 4

 y = 13 10 7 4

Solution Stats

39.89% Correct | 60.11% Incorrect
Last Solution submitted on Dec 02, 2019

Problem Comments