From charlesreid1

(Created page with "https://projecteuler.net/problem=67 Related: Project Euler/18 Related problem, but smaller, allowed for a brute force solution. Discovered flaw in thinking and in algori...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
https://projecteuler.net/problem=67
==Problem Statement==


Related: [[Project Euler/18]]
The triangle sums problem again - similar to [[Project Euler/18]] but with a bigger triangle.


Related problem, but smaller, allowed for a brute force solution. Discovered flaw in thinking and in algorithm, adjusted implementation to account for expectation, and now have a working algorithm. Problem 67 is essentially the same as problem 18 but with a bigger triangle, thus making a brute force solution impossible.
Link: https://projecteuler.net/problem=67
 
==Solution Technique==
 
The related problem 18 ([[Project Euler/18]]) was smaller and allowed for a brute force solution.  
 
I discovered flaw in thinking and in algorithm, adjusted implementation to account for expectation, and now have a working algorithm.  
 
Problem 67 is essentially the same as problem 18 but with a bigger triangle, thus making a brute force solution impossible.
 
==Code==
 
Link: https://git.charlesreid1.com/cs/euler/src/master/scratch/Round2_050-070/067
 
==Flags==
 
{{ProjectEulerFlag}}

Latest revision as of 20:10, 24 March 2019

Problem Statement

The triangle sums problem again - similar to Project Euler/18 but with a bigger triangle.

Link: https://projecteuler.net/problem=67

Solution Technique

The related problem 18 (Project Euler/18) was smaller and allowed for a brute force solution.

I discovered flaw in thinking and in algorithm, adjusted implementation to account for expectation, and now have a working algorithm.

Problem 67 is essentially the same as problem 18 but with a bigger triangle, thus making a brute force solution impossible.

Code

Link: https://git.charlesreid1.com/cs/euler/src/master/scratch/Round2_050-070/067

Flags