We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I find that the phrasing of the problem made this difficult, as it made sense to me that a "constant" would be constant across problems, and there was not enough instruction to indicate that the number would vary, especially by given test cases.
Forming a Magic Square
You are viewing a single comment's thread. Return to all comments →
sum of rows and columns and diagonals for magic square is 15 not 14, also you cannot repeat numbers
its not mentioned as 15, so u can take anything as the sum
I find that the phrasing of the problem made this difficult, as it made sense to me that a "constant" would be constant across problems, and there was not enough instruction to indicate that the number would vary, especially by given test cases.