Three months before, the book on perlgolf has started.
Now you can download it from
http://terje2.perlgolf.org/~golf-info/Book.html
Hope you'll like it.
--
Mtv Europe
Very nice job! It's huge, I've only skimmed it so far.
On another topic... has it been a really long time since there has been
a round of golf, or are you guys hiding the contests somewhere else?
BB
Could it be provided in html version too?
[ to provide official site for references in email/posts ]
--
Andrzej [en:Andrew] Adam Filip an...@priv.onet.pl an...@xl.wp.pl
All that is necessary for the triumph of evil is that good men do nothing
-- Edmund Burke (18th century)
> And now I'll take a look into the Book :)
>
> regards
> Magus
>
From the first sight - it is a great idea to keep all the Perl Golf
related knowledge in one book!
Great work!
best regards
Magus
You can find Polish Perl Golf contests at http:/kernelpanic.pl :)
Basically the site is in polish language although the contests'
descriptions are provided in english too.
Everyone is welcome :)
Not that I've played it much, but Su Doku seems to be the flavour of
the week here in London, and looks like a likely candidate for a
competition. I'm a bit rushed at the moment, but I might have some
time next week to attempt to knock together a test. I may attempt to
golf it on my own and fail miserably and give up, so don't let this
get your hopes up entirely..
If anyone can see that it's a very poor idea, let me know.
Cheerio, (oh, and good work with that book, mtve)
--
Jasper
Alas, it's been done:
http://www.ecclestoad.co.uk/blog/2005/06/02/sudoku_solver_in_three_lines_explained.html
However, that solution has a very strange format for the input and the
solutions, and it is very slow for puzzles such as:
2**67****
**6***2*1
4*****8**
5****93**
*3*****5*
**2*****7
3*1*****4
7*8***6**
****53**8
I have written a solver that returns all 299 solutions to this puzzle in
just under 4 seconds. It's just 448 characters, and I'm quite sure it
can be shortened by using some of the tricks from the three-line
solution (which I had not seen when I wrote my own solution).
Eugene
Teach me to do some googling before I open my big mouth.
Still, I might have a bit of a play before I look at that solution..
Jasp
Alas, it's been done:
http://www.ecclestoad.co.uk/blog/2005/06/02/sudoku_solver_in_three_lines_explained.html
However, that solution has a very strange format for the input and the
solutions, and it is very slow for puzzles such as:
2**67****
**6***2*1
4*****8**
5****93**
*3*****5*
**2*****7
3*1*****4
7*8***6**
****53**8
I have written a solver that returns all 299 solutions to this puzzle in
just under 4 seconds. And it weighs in at just 448 characters. I'm quite
sure it can be shortened by using some of the tricks from the three-line
solution.
Eugene
Hmmm, I bought a book of puzzles, and they are all constructed in such
a way as to have only one solution. This probably makes the solving
thereof much simpler. I knocked together a quick solution this
morning. About 500 characters, most of which are an apallingly
inefficient way to get the indicies of the 9 boxes of 9.
I might try to golf it a bit more later...
--
Jasper
enjoy the Golfing :)
best regards
Mateusz 'Magus' Matuszek