Problem 1873. Break it up! Break it up!
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Tim
on 17 Sep 2013
Test case p(300)=9253082936723604 exceeds the maximum integer that can be represented exactly as a double precision number (namely, 2^53=9007199254740992); the fact that some solutions work for this case is just luck.
James
on 18 Sep 2013
Changed to p(299), which is <2^53. Thanks for the heads up.
James
on 18 Sep 2013
Interestingly, p(299) had some issues as well. Changed again to p(199), which seems to be working OK.
ChrisR
on 23 Apr 2022
If I ever want to learn something, I dial up a problem from James.
Solution Comments
Show commentsProblem Recent Solvers42
Suggested Problems
-
326 Solvers
-
1115 Solvers
-
4570 Solvers
-
Find the path through the cell
37 Solvers
-
Number of paths on a n-dimensional grid
40 Solvers
More from this Author80
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!