Can probably be shortened by the expert golfers round here.sub f { # 1 2 3 4 5 6 7 #234567890123456789012345678901234567890123456789012345678901234567890 +1234567890 for(<D>){$n=0;$o=$_;for$c(@_){$n+=s/$c//};push@{$w[$n]},$o if/^$/;}@{$ +w[-1]} }
andy.
In reply to andye - a different tack Re: "Countdown" (golf)
by andye
in thread "Countdown" (golf)
by stuffy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |