From: "Arthur Chargueraud" <cours_caml@france-ioi.org>
To: <caml-list@yquem.inria.fr>
Subject: Sudoku solver again: a 13-lines and rather efficient one
Date: Fri, 18 Nov 2005 22:40:23 +0100 [thread overview]
Message-ID: <007a01c5ec88$b27b4e60$e600a8c0@arthur> (raw)
I don't know if this is the best place to have a Sudoku solver challenge,
But since many of you posted here, I guess I may also have a go on it :)
-- in other words, I'm sorry if you don't care at all about Sudoku ---
Well, if you are interested, you may wish to have a look at my:
- thirteen lines of Caml (though my lines are not so short)
- of a rather efficient sudoku solver
- that gives all solution for an input grid
- and uses only modules Pervasive and Array.
Thanks Caml !
You may find it here:
http://arthur.chargueraud.org/divers/sudoku/
I haven't done any advanced benchmarking, but it looks like my code isn't too slow.
Arthur Charguéraud
reply other threads:[~2005-11-18 21:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='007a01c5ec88$b27b4e60$e600a8c0@arthur' \
--to=cours_caml@france-ioi.org \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).