in reply to andye Re: "Countdown" (golf)
in thread "Countdown" (golf)
I think this trick might be applicable to your others as well...# 1 2 3 #234567890123456789012345678901 grep/^(([@_])(?!.*\2))+$/x,<D>;
Update: I'm still trying to grok your longer ones (re eval in golf... coool) and I'm uncovering some oddities:
Doubled letters (dd, tt, etc) are sneaking through... It looks like $n{'d'} needs to be temporarilly decremented when 'd' matches in the character class...qw(a d d) ad add dad qw(a d) ad add <= wrong... but 'dad' got correctly skipped... I think add gets through because the 'd's are right next to each other
-Blake
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: andye Re: "Countdown" (golf)
by andye (Curate) on Dec 01, 2001 at 15:07 UTC |