Beefy Boxes and Bandwidth Generously Provided by pair Networks BBQ
Keep It Simple, Stupid
 
PerlMonks  

Re: The golf course looks great, my swing feels good, I like my chances (Part II)

by eyepopslikeamosquito (Canon)
on May 19, 2009 at 09:37 UTC ( #764874=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    t=p=0
    for r in raw_input():n=int(oct(2<<6155848/ord(r)%11));t+=n/2-p%n;p=n
    print t
    
  2. or download this
    t=p=0
    for r in raw_input():n=hash(r+"VFkQW")%291*5%1254;t+=n-2*p%n;p=n
    print t
    
  3. or download this
    n=hash(r+"magicstring")%1234
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (15)
As of 2013-05-23 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (490 votes), past polls