Skip to content

Commit be31f85

Browse files
committed
Update readme.md
Fix typos.
1 parent 33794fd commit be31f85

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

readme.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
##Description:
44
* Solves Sudoku puzzles.
55
* Takes input from console, ignoring all characters except the digits 0-9.
6-
* Once 81 digits have been imputed, the solution will be outputted.
6+
* Once 81 digits have been inputted, the solution will be outputted.
77

88
##Usage:
9-
* To compile: javac Sudoku.java
10-
* To run: java Sudoku
11-
* To run with file input: java Sudoku < file.txt
9+
* To compile: `javac Sudoku.java`
10+
* To run: `java Sudoku`
11+
* To run with file input: `java Sudoku < file.txt`
1212

1313
##Output description:
14-
* If there is more than one solution, the program outputs one valid solution.
1514
* Outputs whether a puzzle has no solution, a single solution, or multiple solutions.
15+
* If there is more than one solution, the program outputs one valid solution.
1616
* Outputs the number of cells that were solved with each technique if the puzzle has a solution.
1717

1818
###Techniques:
1919
* Given - A cell that was inputted.
20-
* Single - A cell that was solved because it only has one candidate.
21-
* Hidden single - A cell that was solved because it had a candidate that appeared only once in its row, column or 3x3 block.
20+
* Single - A cell that was solved because it had only one candidate (posible value).
21+
* Hidden single - A cell that was solved because it had a candidate that appeared only once in its row, column, or 3x3 block.
2222
* Intersection - A cell that was solved because one or more of its candidates were eliminated because they had to occur in another intersecting row, column, or block.
2323
* Guess - A cell that was solved by guessing.
2424

2525
If the puzzle cannot be solved using singles, hidden singles, or intersections, the program will make guesses until it reaches a solution.
2626

27-
See sampleinput.txt and sampleoutput.txt for example input and output.
27+
See sampleinput.txt and sampleoutput.txt for example input and output.

0 commit comments

Comments
 (0)