10775 - Mystical Matrix
Moderator: Board moderators
-
- New poster
- Posts: 8
- Joined: Sat Dec 20, 2003 12:57 pm
- Location: Duke University, NC
10775 - Mystical Matrix
Can anyone explain an idea how to solve this problem?
You better first find out the answer of N=9,
it can help you to observe some property of the required matrix.
it can help you to observe some property of the required matrix.
My signature:
- Please make discussion about the algorithm BRFORE posting source code.
We can learn much more in discussion than reading source code. - I HATE testing account.
- Don't send me source code for debug.
-
- Experienced poster
- Posts: 147
- Joined: Fri Jun 13, 2003 10:46 pm
Code: Select all
N = 3
1 6 8
5 7 3
9 2 4
N = 9
1 2 3| 16 17 18| 22 23 24
--------+---------+---------
14 15 13| 20 21 19| 8 9 7
--------+---------+---------
27 25 26| 6 4 5| 12 10 11
The remaining problem is how to allocate the numbers in each part.
I stop at here to keep the interest of solving this problem

My signature:
- Please make discussion about the algorithm BRFORE posting source code.
We can learn much more in discussion than reading source code. - I HATE testing account.
- Don't send me source code for debug.
-
- New poster
- Posts: 8
- Joined: Sat Dec 20, 2003 12:57 pm
- Location: Duke University, NC
Please someone give me answer for N=12.
Thanks
Thanks
someone who like to solve informatic problems.
http://acm.uva.es/cgi-bin/OnlineJudge?AuthorInfo:29650
http://acm.uva.es/cgi-bin/OnlineJudge?AuthorInfo:29650
.............You better first calculate the column sum for N = 12Eduard wrote:Please someone give me answer for N=12.
Thanks
My signature:
- Please make discussion about the algorithm BRFORE posting source code.
We can learn much more in discussion than reading source code. - I HATE testing account.
- Don't send me source code for debug.
Yes,I see it. 

someone who like to solve informatic problems.
http://acm.uva.es/cgi-bin/OnlineJudge?AuthorInfo:29650
http://acm.uva.es/cgi-bin/OnlineJudge?AuthorInfo:29650
YesCho wrote:Is it solvable for some N where N is not 3^n?
YesCho wrote:Is it solvable for N=15?
You can try to construct the matrix for N = 15 with my hint given before.
My signature:
- Please make discussion about the algorithm BRFORE posting source code.
We can learn much more in discussion than reading source code. - I HATE testing account.
- Don't send me source code for debug.