Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Shortest string containing all from 0000 to 9999 challenge.

by EvdB (Deacon)
on May 22, 2003 at 11:48 UTC ( #260034=note: print w/replies, xml ) Need Help??


in reply to Re: Shortest string containing all from 0000 to 9999 challenge.
in thread Shortest string containing all from 0000 to 9999 challenge.

When I started the problem I used alot of arrays - which carried over into my analysis code.

Yours is slicker and a good demonstration of the substr function. Just to prove it here are the benchmarks:

Rate EvdB saouq EvdB 7.89/s -- -67% saouq 23.8/s 202% --

--tidiness is the memory loss of environmental mnemonics

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://260034]
help
Chatterbox?
and the fog begins to lift...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2017-12-18 01:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (466 votes). Check out past polls.

    Notices?