It was a magic square problem, a magic square is a n*n square grid (where n is the number of cells on each side) filled with distinct positive integers in the range 1,2,...,n^2 such that each cell contains a different integer and the sum of the integers in each row, column and diagonal is equal.The sum is called the magic constant or magic sum of the magic square. A square grid with n cells on each side is said to have order n.

In regard to magic sum, the problem of magic squares only requires the sum of each row, column and diagonal to be equal, it does not require the sum to be a particular value. Thus, although magic squares may contain negative integers, they are just variations by adding or multiplying a negative number to every positive integer in the original square.

Statistics

77% Solution Ratio
rayhan50001Earliest, Jul '17
nill98Fastest, 0.0s
SIR.24Lightest, 0 B
SIR.24Shortest, 582B
Toph uses cookies. By continuing you agree to our Cookie Policy.