The second guess    see t0=: f^:a: 1{g   leads to many inconsistencies.
(e.g. the last 3 digits are 272).



----- Original Message ----- 
From: "R.E. Boss" <[EMAIL PROTECTED]>
To: "'Programming forum'" <[email protected]>
Sent: Tuesday, April 25, 2006 8:46 AM
Subject: [Jprogramming] Sudoku solver

I did not succeed in solving

   x=: , 0&".;._2 (0 : 0)
0 3 0 0 9 0 0 0 5
0 1 0 4 8 0 0 2 9
2 0 0 0 1 0 7 0 0
0 2 5 1 7 8 9 0 0
8 0 0 0 0 0 0 0 0
0 9 1 0 0 0 0 0 0
4 0 2 0 6 0 0 0 0
0 0 8 2 0 9 0 5 6
0 0 0 0 0 0 0 7 0
)

so I fed it to Hui's sudoku solver:
...

Question remains: why did not 'sudoku x' show both solutions, as is stated
in http://www.jsoftware.com/jwiki/Essays/Sudoku?


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to