Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by eyepopslikeamosquito (Canon)
on Feb 28, 2010 at 20:10 UTC ( #825780=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    r=*$<;'XXXXXXXXXXXX'.each_byte{|i|$><<"%#{327%i/9}c"%
    'ohmx'[1>>(i-r.to_i)%12^2&2<<i%12-r[3,2].to_i/5]+$/*(i/85)}
    
  2. or download this
    1>>(i-r.to_i)%12^2&2<<i%12-r[3,2].to_i/5
    
  3. or download this
    1>>(i-h)%12^2&2<<i%12-m
    
  4. or download this
    # Search for Ruby solutions by building expressions from the sym
    # and numsymop arrays below, then evaluating them (via eval).
    ...
        end
      end
    end
    
  5. or download this
    woohoo: ~m%i%12/11: veq=1 vneq=0
    
  6. or download this
    (i-h)%12/~i
    
  7. or download this
    1>>(i-h)%12^2&2<<i%12-m     # original
    (i-h)%12/~i^~m%i%12/11      # new and improved
    
  8. or download this
    r=*$<;'XXXXXXXXXXXX'.each_byte{|i|$><<"%#{327%i/9}c"%
    'hxmo'[(i-r.to_i)%12/~i^~r[3,2].to_i/5%i%12/11]+$/*(i/85)}
    
  9. or download this
    r=*$<; r r[3,2]       # original
    gets;~/:/; $_ $'      # new
    
  10. or download this
    gets;'XXXXXXXXXXXX'.each_byte{|i|$><<"%#{327%i/9}c"%'ohmx'[1>>(i-$_.to
    +_i)%12^~/:/&2<<i%12-$'.to_i/5]+$/*(i/85)}
    
  11. or download this
    (i-int(r[:2]))%-12/42
    
  12. or download this
    (i-int(r[:2]))%-12/i
    
  13. or download this
    _=raw_input()
    for c in'XXXXXXXXXXXX':n=ord(c);print 3459%n/9*' '+'ohmx'[n%13==int(_[
    +:2])%12::2][n%13==int(_[3:])/5]+n%3*'\n',
    
  14. or download this
    _=raw_input()
    for c in'XXXXXXXXXXXX':n=ord(c);print 247%n/7*' '+'ohmx'[n%12==int(_[:
    +2])%12::2][n%12==int(_[3:])/5]+n/72*'\n',
    
  15. or download this
    [(i%12==int(r[3:])/5)^(i-int(r[:2]))%-12/42]
    [-(i%12==int(r[3:])/5)^1>>(i-int(r[:2]))%12]
    [i%12==int(r[3:])/5::2][i%12==int(r[:2])%12]
    [i%12==int(r[3:])/5::2][1>>(i-int(r[:2]))%12]
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2014-12-28 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (178 votes), past polls