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
-
Increment a number, given its digits
597 Solvers
-
93 Solvers
-
Return a list sorted by number of consecutive occurrences
245 Solvers
-
Create a matrix with difference of each row of input matrix
64 Solvers
-
39 Solvers
More from this Author255
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!