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
-
Find all elements less than 0 or greater than 10 and replace them with NaN
14237 Solvers
-
Increment a number, given its digits
596 Solvers
-
9 Solvers
-
18 Solvers
-
Generate a string like abbcccddddeeeee
245 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!