All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General
More or less magic square (Posted on 2004-06-22) Difficulty: 3 of 5
Fill a 3x3 square with the numbers from 1 to 9, so the four sides and the two diagonals share the same sum, which is to be as large as possible.

See The Solution Submitted by Federico Kereki    
Rating: 3.2500 (4 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re(2): Solution | Comment 6 of 11 |
(In reply to re: Solution by Bryan)

Charlie gave a good answer, but I would say, first of all, it's fun to write programs. (I have only written a handful of programs in my life. I just learned Visual Basic recently. Of course my code won't be as elegant as Charlie's). Secondly, I also drive a car to go for a mile trip, although I suppose it's healthier to walk. And those who prefer to solve this with pen and paper will at least know that a solution  (in this case) greater than 18 is not possible, so they won't waste time trying to find it. (Posting the program code will enable any flaws it has to be exposed). btw, I think those bells and whistles are cool.  That one line looks so profound:

Imports System.Runtime.InteropServices

  

 

Edited on June 22, 2004, 2:52 pm
  Posted by Penny on 2004-06-22 14:47:17

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (5)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2025 by Animus Pactum Consulting. All rights reserved. Privacy Information