Thread: 25x25 sudoku

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687
    Quote Originally Posted by cpjust View Post
    When I do a sudoku on paper, I fill the blank spaces (in pencil so I can erase it later) with all the possible values that could go in there and usually do that to all the blank squares in a row or column. Then I see which numbers only appear once in that row, column or big square and that HAS to be the right number, so I erase the possible numbers in that square and fill in the real number. I also remove that number from all the other possible numbers in the large square... Rinse, Lather, Repeat until it's done.

    Maybe you can use this "caching" technique in your algorithm?
    I tried to make my sudoku program do that but it always ran into trouble when it encountered something along the line of
    Code:
    | 1 | 2 | 3 ||   |   |   ||   |   |   |
    |   |   |   || 1 | 2 | 3 ||   |   |   |
    |   |   |   ||   |   |   || 4 | 5 | 6 |
    Last edited by ಠ_ಠ; 06-20-2009 at 12:15 PM.
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sudoku 4 by 4 combination lister?
    By iskate4 in forum C++ Programming
    Replies: 2
    Last Post: 02-19-2009, 01:56 PM
  2. sudoku - arrays
    By rocketman50 in forum C++ Programming
    Replies: 2
    Last Post: 03-21-2008, 09:20 AM
  3. sudoku program
    By ElemenT.usha in forum C Programming
    Replies: 1
    Last Post: 02-12-2008, 12:51 PM
  4. Help for a sudoku Solver
    By axilleask in forum C Programming
    Replies: 3
    Last Post: 11-26-2007, 04:28 PM
  5. Sudoku - the new addiction
    By axon in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 11-07-2005, 11:39 PM