XL-Sudoku-Solver
Install
pip install xl-sudoku-solver
Usage
Cmd:
problem1.txt:
9x37xxxx1
xxx6xx5xx
x4xxx1xxx
xxx36x2xx
8xxxxxxx4
xx6x97xxx
xxx5xxx2x
xx7xx3xxx
3xxxx28x9
$ xl-sudoku-solver --time -f problem1.txt
+-----------+-----------+-----------+
| 9 ! 5 ! 3 | 7 ! 2 ! 4 | 6 ! 8 ! 1 |
| 7 ! 8 ! 1 | 6 ! 3 ! 9 | 5 ! 4 ! 2 |
| 6 ! 4 ! 2 | 8 ! 5 ! 1 | 9 ! 3 ! 7 |
+-----------+-----------+-----------+
| 1 ! 7 ! 4 | 3 ! 6 ! 8 | 2 ! 9 ! 5 |
| 8 ! 3 ! 9 | 2 ! 1 ! 5 | 7 ! 6 ! 4 |
| 5 ! 2 ! 6 | 4 ! 9 ! 7 | 3 ! 1 ! 8 |
+-----------+-----------+-----------+
| 4 ! 9 ! 8 | 5 ! 7 ! 6 | 1 ! 2 ! 3 |
| 2 ! 1 ! 7 | 9 ! 8 ! 3 | 4 ! 5 ! 6 |
| 3 ! 6 ! 5 | 1 ! 4 ! 2 | 8 ! 7 ! 9 |
+-----------+-----------+-----------+
Cost: 0.171875s
Release files for xl-sudoku-solver 0.0.1.post3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xl-sudoku-solver-0.0.1.post3.tar.gz | 6.5 kB | Details |
Release files / xl-sudoku-solver-0.0.1.post3.tar.gz
| Download URL | xl-sudoku-solver-0.0.1.post3.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
162ccf35cbe83338b9fee7481de5dc04c2528f7ceda0206f12b7d3985aa1d421
|
|
BLAKE2b-256 checksum How to use checksums |
126544ce4540cfb610ed78e27aa26831b14cb75d128de1787a3b96f483bf32ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.2
|