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

Re^3: Golf: Buying with exact change

by Thelonious (Scribe)
on Feb 22, 2005 at 05:02 UTC ( #433253=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Golf: Buying with exact change
in thread Golf: Buying with exact change

59

sub largest {
# 345678 1 2345678 2 2345678 3 2345678 4 2345678 5 23456789
@r=map'('.5x$_.')*',@_;for($=**=2;(5x$=)=~/^@r$/x;$=--){}$=
}


Comment on Re^3: Golf: Buying with exact change

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (14)
As of 2015-07-30 18:36 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 (273 votes), past polls