Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Re: Friday Golf: All 2-digit combinations

by LTjake (Prior)
on Sep 26, 2003 at 19:49 UTC ( #294531=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Friday Golf: All 2-digit combinations
in thread Friday Golf: All 2-digit combinations

53.

for$a(9,0..9){for$b($a..9){$_.=$a.$b}s/$a$a/$a/}print

--
"To err is human, but to really foul things up you need a computer." --Paul Ehrlich


Comment on Re: Re: Re: Friday Golf: All 2-digit combinations
Download Code
Re: Re: Re: Re: Friday Golf: All 2-digit combinations
by BrowserUk (Pope) on Sep 26, 2003 at 19:55 UTC

    Scratch! Too eager:)


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
    If I understand your problem, I can solve it! Of course, the same can be said for you.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (15)
As of 2015-07-06 12:39 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 (74 votes), past polls