-
2 Comments
Rafael S.T. Vieira
on 1 Aug 2020
My code fails for some of the cases I've mentioned. The current leading solution does better (finding some solutions my code can't), yet sometimes it enters into an infinite loop.
Brandon
on 5 May 2023
I see it failing for
n=5;
m=13;
Suggested Problems
-
26266 Solvers
-
Project Euler: Problem 3, Largest prime factor
1606 Solvers
-
754 Solvers
-
Decimation - Optimized for speed
185 Solvers
-
1414 Solvers
More from this Author50
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!