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

Re^2: Brute force vs algorithm (PWC # 100)

by LanX (Saint)
on Feb 16, 2021 at 16:10 UTC ( [id://11128451]=note: print w/replies, xml ) Need Help??


in reply to Re: Brute force vs algorithm (PWC # 100)
in thread Brute force vs algorithm (PWC # 100)

Hi

I adapted my code in Re^4: Brute force vs algorithm (PWC # 100) to maximize the Euler#67 problem and it took 4 ms on my laptop to generate best weight and path for the provided triangle with 100 rows.

I don't wanna spoil it, but does $cost have 4 digits out of (2 3 7) ? :)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-03-29 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found