Re: Golf challenge: Tangled Tale

Tobias Gödderz <[email protected]>
Newsgroups gmane.comp.lang.perl.fun
Message-ID <1088044829.6498.8.camel@Zedd>
On Wed, 2004-06-23 at 20:15, Brad Greenlee wrote:
> First, my current code is down to 221.
I got mine down to 213 now.

> Second, from what I remember of golfing (it's been a while for me), 
> you're actually *not* supposed to publish your solutions until the end. 
> It gives the competition ideas.

> A. Pagaltzis wrote:
> > 
> > * Tobias Gödderz <[email protected]> [2004-06-23 19:16]:
> > 
> >>We (a friend of mine and me) made it with 246 chars.
> > 
> > Uh, you're supposed to publish your solutions when golfing.

I also think that it's more exiting without knowing the solutions of the
other golfers, isn't it? :-)

-- 
j();sub j{$_=&p;sub p3{'81461380'}while(s/^(\d{3})(\d*)$/$2/){$s='0.'.$1;push@a,
atan2($s,sqrt(1-$s*$s))}sub p{&p1.&p2.&p3}sub p1{'30531437032492049655'}for(@a){
push@b,chr sprintf"%.0f",(100*$_);}$s=join'',@b;print$s^uc("u"x24);}sub p2{'%f';
hex'13012428';'65483245724613809200494613805399205724965145'}#by Tobias Goedderz
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBA2j8cm4q6IdXhjTARAvCGAKCpo4PkcFQ/88yMKuf3iVWBVtRRywCfQKMq
ZHe42+qCh2Y9f745nQhd6ok=
=FdRm
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.