in reply to Re: (Golf) Cryptographer's Tool #1
in thread (Golf) Cryptographer's Tool #1
sub c { ($_,$a)=@_;s!.!$h{$&}||=($a=~/./g,"$&\0")!ge;y/\0//;$_ }
Update:Fixed code as per chipmunk's comment. It's 54 chars now.
The 15 year old, freshman programmer,
Stephen Rawls
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: (Golf) Cryptographer's Tool #1
by chipmunk (Parson) on Jun 20, 2001 at 02:19 UTC | |
Re: Re: Re: (Golf) Cryptographer's Tool #1
by sean (Beadle) on Jun 20, 2001 at 05:08 UTC | |
Re: Re: Re: (Golf) Cryptographer's Tool #1
by MeowChow (Vicar) on Jun 20, 2001 at 03:31 UTC | |
by srawls (Friar) on Jun 20, 2001 at 04:20 UTC | |
by MeowChow (Vicar) on Jun 20, 2001 at 04:41 UTC | |
by srawls (Friar) on Jun 20, 2001 at 04:57 UTC |