sudoku Questions

2

Solved

I don't know what I'm doing wrong, and I've been staring at this code all day. This is a "standard" Sudoku solver in Java, that takes a int[][] with 0's where the empty spaces are. Given I'm only p...
Riccio asked 29/4, 2012 at 0:56

3

Solved

I'm currently working on my GUI for this Sudoku solver I'm making. I've managed to print out the board with no problems. However I'd like to know how I would go about to differentiate the 3x3 regio...
Gaven asked 16/3, 2012 at 23:37

2

Solved

I've recently been working on a backtracking sudoku solving algorithm and currently I'd like to ask on how I should go about to change my solve() method from void to a boolean. I'm using a very si...
Excellency asked 16/3, 2012 at 0:38

2

I'm having issues with my logic solving algorithm. It solves puzzles with a large number of hints very well, it just has issues with puzzles that have less than 45 clues. This is the algorithm for...
Phoneme asked 8/3, 2011 at 18:53

3

Solved

Based on the above coordinates in the above image, I'd like to be able to calculate which "square" as highlighted in red, the selected cell belongs to. I'm solving a sudoku puzzle, and I have ac...
Mavilia asked 11/3, 2011 at 4:49

6

Solved

I was reading a question posted here: Sudoku algorithm in C# And one of the solutions posted was this piece of code. public static bool IsValid(int[] values) { int flag = 0; foreach (int value ...
Sapphirine asked 24/2, 2011 at 22:38

3

Solved

I'm creating a program that invents a new Sudoku puzzle. The way I initially planned on doing this is by inventing a new puzzle and then removing random numbers. However, the algorithm I use (seen ...
Landis asked 18/12, 2010 at 8:21

14

Solved

Introduction A valid Sudoku grid is filled with numbers 1 to 9, with no number occurring more than once in each sub-block of 9, row or column. Read this article for further details if you're...
Truckle asked 10/12, 2010 at 8:33

4

Solved

What would be a smart data structure to use to represent a Sudoku puzzle? I.e. a 9X9 square where each "cell" contains either a number or a blank. Special considerations include: Ability to comp...
Ganister asked 1/11, 2010 at 1:16

6

Solved

. OVERVIEW, SAMPLE Hello everyone, I have created a basic Sudoku solver that can solve most problems fairly quickly. I still have a lot of work ahead of me to make it solve even the hardest problem...
Bant asked 4/8, 2010 at 19:28

1

Solved

I recently wrote a sudoku solver in C to practice programming. After completing it I decided to write an equivalent program in Python for a comparison between the languages and more practice and th...
Krill asked 26/7, 2010 at 9:30

1

Solved

I wished I paid more attention to the math classes back in Uni. :) How do I implement this math formula for naked triples? Naked Triples Take three cells C = {c1, c2, c3} that share a unit U. Tak...
Spinster asked 10/6, 2010 at 22:11

4

Solved

I am a building a console Sudoku Solver where the main objective is raw speed. I now have a ManagerThread that starts WorkerThreads to compute the neibhbors of each cell. So one WorkerThread is st...
Gainly asked 6/6, 2010 at 17:10

3

Solved

I am reading in a file into an array. It is reading each char, the problem arises in that it also reads a newline in the text file. This is a sudoku board, here is my code for reading in the char:...
Decca asked 1/4, 2010 at 0:34

3

Solved

Can someone please help me understand this solution: Initialize 2D array with 81 empty grids (nx = 9, ny = 9) Fill in some empty grid with the known values Make an original copy of the array S...
Planet asked 15/1, 2010 at 23:44

4

I have a problem with some part of my lisp code. It is a sudoku table generator. It works fine until this part: (loop for e in entries do (if (and (not (member e sub)) (not (member e col))) (p...
Dynamism asked 9/11, 2009 at 22:32

3

Solved

A-star is used to find the shortest path between a startnode and an endnode in a graph. What algorithm is used to solve something were the target state isn't specifically known and we instead only ...
Testa asked 9/5, 2009 at 11:10

8

I'm trying to create a sudoku solver program in Java (maybe Python). I'm just wondering how I should go about structuring this... Do I create a class and make each box a object of that class...
Objectivity asked 10/1, 2009 at 23:57

© 2022 - 2024 — McMap. All rights reserved.