It appears that Alfonso took 7 minutes to solve this challenge.
very clever simplifications (constant term in linear model is irrelevant, and optimal slope can only take a discrete set of values)
Tobias took at least 2 minutes to solve this challenge with Matlab. An elegant usage of a function and a Matlab optimization function. This solution also crushed the GJam BigDataset in 1.2 seconds.
6313 Solvers
Project Euler: Problem 9, Pythagorean numbers
294 Solvers
Back to basics 12 - Input Arguments
527 Solvers
How long is the longest prime diagonal?
342 Solvers
359 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!