Problem 1870. GJam:2013 World B: MAD Drummer
65.22% Correct | 34.78% Incorrect
Last Solution submitted on Aug 15, 2019
Alfonso Nieto-Castanon on 12 Sep 2013
very clever simplifications (constant term in linear model is irrelevant, and optimal slope can only take a discrete set of values)
Richard Zapor on 11 Sep 2013
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.
Problem Recent Solvers5
Sort numbers by outside digits
Compute the dilation of a binary image
Create a matrix with difference of each row of input matrix
More from this Author260
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!