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

 There is something missing (Posted on 2005-05-13)
This popular Japanese number puzzle has just one easy rule: In every Row, every Column and every 3x3 sub-grid, all the numbers from 1 to 9 should appear, but only once in each row, column and sub-grid.
+------+-------+------+
| 0 0 0 | 7 0 0 | 4 0 0 |
| 0 3 0 | 0 9 0 | 0 2 0 |
| 4 0 0 | 0 0 5 | 0 0 0 |
+------+-------+------+
| 0 0 8 | 0 0 0 | 0 0 5 |
| 0 9 0 | 0 3 0 | 0 7 0 |
| 6 0 0 | 0 0 0 | 3 0 0 |
+------+-------+------+
| 0 0 0 | 4 0 0 | 0 0 6 |
| 0 7 0 | 0 2 0 | 0 9 0 |
| 0 0 5 | 0 0 8 | 0 0 0 |
+------+-------+------+

Replace the 0's with the digits required to satisfy the rule.

 See The Solution Submitted by Hugo Rating: 4.4000 (10 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
 re(2): Haley's Comet vrs. Penny's Loafer: And the winner is.... | Comment 14 of 29 |
(In reply to re: Haley's Comet vrs. Penny's Loafer: And the winner is.... by Ken Haley)

For the record, my recursive program took 41.19 seconds to search for all solutions, finding the unique solution at 1.04 seconds.  Of course it used QuickBasic rather than VB. It used a 2 GHz processor.
 Posted by Charlie on 2005-05-15 17:31:39

 Search: Search body:
Forums (0)