Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Code Shortening (golf)by kcott (Archbishop) |
on Oct 18, 2010 at 19:57 UTC ( [id://866037]=note: print w/replies, xml ) | Need Help?? |
Similarly, AbcdeF must be Abcde(NOP)(NOP)F, so the output is 2. Shouldn't that be: Similarly, AbcdeF must be Abcde(NOP)(NOP)(NOP)F, so the output is 3. Using hyphens instead of (NOP)s: 012345678 Abc-D A---B---C Abcde--F Abcde---F It may just be a typo. If not, I haven't understood the task. -- Ken
In Section
Seekers of Perl Wisdom
|
|