Re: Golf challenge: Tangled Tale
Tobias Gödderz <[email protected]>
| Newsgroups | gmane.comp.lang.perl.fun |
|---|---|
| Message-ID | <1088113316.6486.4.camel@Zedd> |
On Thu, 2004-06-24 at 23:06, Craig S.Cottingham wrote:
> I think he's jerking our collective chain:
>
> >> On Thu, Jun 24, 2004 at 04:40:29AM +0200, Tobias G?dderz wrote:
> >>> On Wed, 2004-06-23 at 20:15, Brad Greenlee wrote:
> >>> I also think that it's more exiting without knowing the solutions of
> >>> the
> >>> other golfers, isn't it? :-)
> >> Oh, absolutely.
Probably.
Okay, I'm down to 148 now, and I think, I'm on my limit. I'll publish
mine as soon as no one wants to compete anymore.
Tobias
--
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) iD8DBQBA20qkm4q6IdXhjTARAuTWAKDSzDcgXAtWLjhfHnt216Xaedrm7ACg3dsW kjYw3YNGkaZFp1gxikRxizw= =gTGV -----END PGP SIGNATURE-----