https://github.com/threez/sudoku-solver
solves sudokus saved in simple txt format
https://github.com/threez/sudoku-solver
Last synced: over 1 year ago
JSON representation
solves sudokus saved in simple txt format
- Host: GitHub
- URL: https://github.com/threez/sudoku-solver
- Owner: threez
- Created: 2010-11-25T23:40:06.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-11-27T14:38:53.000Z (over 15 years ago)
- Last Synced: 2025-02-07T08:12:25.272Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 101 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
I wanted to write a simple sudoku solver. Just try out this:
ruby sudoku.rb *.txt
OR
make test (for the c version)
I also implemented the solver in c. I just wanted to have some performance
comparison. On my machine i get those numbers (inc. vm/interpreter bootup):
real user sys
C 0m0.063s 0m0.057s 0m0.003s
ruby 1.9.2p0 0m0.241s 0m0.224s 0m0.012s
ruby 1.8.7p174 0m0.441s 0m0.223s 0m0.012s