On Fri, Apr 05, 2002 at 11:28:50AM -0500, Patrick Gaskill wrote:
> > - YES! I manage to reduce '$very_long_variable_name'
> > to '$one_long_variable_name', shaving a stroke
> > and passing the relay to you. The crowd cheers
> > and goes wild!
>
> Then my first instinct would be to start off with a really long useless
> variable name at the end of the solution, so everyone can just take a letter
> off of it to pass it along. This way, the entire team can agree on the best
> solution before submitting it...
And it would be a valid tactic. As long as no communication beside
the submitted solutions is allowed, this could be amusing.
I can see the entries from here:
map $s[$_]-->0&&++$_[$_], (0..$#_);
$dont_you_think_we_should_use_for_instead
map$s[$_]-->0&&++$_[$_], (0..$#_);$nah_map_is_better
map$s[$_]-->0&&++$_[$_],(0..$#_); $really?'':''
map$s[$_]-->0&&++$_[$_],(0..$#_); $yup
map$s[$_]-->0&&++$_[$_],(0..$#_); $ok
Or comments, useless variables and variable names of more
than 4 letters could be declared illegal.
Joy,
`/anick
--
$,=' '; $\="\n"; @_= qw/a a a a/; @s= qw/17049 482466755 285075 95568295/;
while( (sort @s)[-1] ){ map $s[$_]-->0&&++$_[$_], (0..$#_); print @_; }
### May take some time. :) ###