4 ms·
This would have been very useful solving Project Euler's problem 93: https://projecteuler.net/problem=93 https://projecteuler.net/problem=93.
by gordaco 9y ago
This would have been very useful solving Project Euler's problem 93: https://projecteuler.net/problem=93 https://projecteuler.net/problem=93.
- jjaredsimpson 9y agoThat problem is small enough to just brute force. There are only 1612800 calculations to do.
- gordaco 9y agoOf course... but for many people, in Project Euler the goal is not just to get a solution, it's to create a beautiful and/or efficient solution. This is why reading the comments and finding other people's solutions after solving a problem is usually as fulfilling as solving it, or even more.
- jjaredsimpson 9y agoFor sure, only commenting that for that particular problem, brute force is viable. For many problems brute force is not viable. I was grinding PE a couple years ago to pick up Haskell.