Problem 1870. GJam:2013 World B: MAD Drummer
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
Richard Zapor
on 11 Sep 2013
It appears that Alfonso took 7 minutes to solve this challenge.
-
1 Comment
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)
-
1 Comment
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
Suggested Problems
-
Sort numbers by outside digits
141 Solvers
-
884 Solvers
-
Compute the dilation of a binary image
48 Solvers
-
31 Solvers
-
Create a matrix with difference of each row of input matrix
72 Solvers
More from this Author260
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!