Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: One for the weekend: challenge

by karavelov (Monk)
on Jun 01, 2008 at 06:54 UTC ( #689528=note: print w/replies, xml ) Need Help??

in reply to Re: One for the weekend: challenge
in thread One for the weekend: challenge

It loops forever on long numbers. And sometimes produces false results. I have not analyzed why exactly this is wrong but for the number -810873502888/74-556227/1 (the last number of the output.txt) it gives 62 results while the number of correct results is 18.

Replies are listed 'Best First'.
Re^3: One for the weekend: challenge
by Limbic~Region (Chancellor) on Jun 01, 2008 at 12:55 UTC
    Thanks. I am not going to invest too much time in it as I believe the logic to be sound - the implementation is the problem.

    Cheers - L~R

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://689528]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2017-11-20 02:38 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (283 votes). Check out past polls.