Problem 2825. pay it forward
If you are the first player to attempt this problem, I left number 42 open for you. Cheers!
Very creative problem! Took me a while to understand the test code and then realized I had the golden opportunity. And "paid it forward" too
Whoever you are, I have always depended on the kindness of strangers.
Sorry for the discontinuity. This problem is working again (changes in Cody were interfering with our old way of assigning not-size-based scores to solutions). Let me know if you still run into any issues.
note: as a side effect of the glitch solutions submitted between May and June 2015 had been incorrectly scored so please disregard those
It is possible to solve this problem without relying on the kindness of strangers or hacking. Just think...
@Rafael: thanks for you comment, and I guess you are right and kindness is in the eye of the beholder, but for example I see your solution using y=10 relying on Jonathan's kindness (as he submitted that 10 before you did), and similarly I see your failed -but kind!- y=50382 solution hopefully helping some other player solve this problem in the future, effectively paying that kindness forward (thanks!). That said, perhaps Jonathan, or you, were not really trying to be kind to others with their failed solution attempts and were instead just trying out some random solutions, but hey, I like my interpretation better :)
Everyone is entitled to an opinion, Alfonso :), but I went with Benford's Law and code analysis.
and i went with Alfonsos kind lengthy comment :)
Solution CommentsShow comments
Problem Recent Solvers34
More from this Author38
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!