Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: JAPH the First

by nashdj (Friar)
on Dec 06, 2000 at 05:13 UTC ( #45152=note: print w/ replies, xml ) Need Help??


in reply to JAPH the First

Good work, you had me stumbling over it for quite a while there, took quite a bit to get the basic algorithm down. That said, I think you did a good job encoding your data. Your next step would be to hide it around the place so that it doesnt all originate from @_

I had a bit of a fiddle, so here's what I came up with using the same data.

$==-1;$=++,$;[abs $_]=/.*\.(.*)/?$1:$=for @_;print map chr $_+65,@;

It gets one char wrong, but I figured it wasnt quite worth the effort to fix that up :)

- nashdj


Comment on Re: JAPH the First
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://45152]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2015-07-29 02:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls