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
-
Return the largest number that is adjacent to a zero
4402 Solvers
-
the fly, the train, the second train, and their Zeno's paradox
61 Solvers
-
953 Solvers
-
296 Solvers
-
40 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!