|
|
| P is for Practical | |
| PerlMonks |
Re: Re: (Golf) Cryptographer's Tool #1by srawls (Friar) |
| on Jun 19, 2001 at 22:17 UTC ( [id://89843]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
That doesn't work when 0 is in the 'alphabet.' Here's a modified solution that handles 0 properly, which is only 8 more char than yours: It adds the null character to each string, which shouldn't print on most machines (it does on my dos, not on my unix).
Update:Fixed code as per chipmunk's comment. It's 54 chars now. The 15 year old, freshman programmer,
In Section
Meditations
|
|
||||||||||||||||||||||||||||||||||||||