Problem 2674. Generalised Hamming Number
Solution Stats
Problem Comments
-
4 Comments
I like your test suite. Using large X forces a better solution.
Thank you Jonathan. I have discovered this philosophy thanks to James and @bmtran problems.
is there any mathematical algorithm that i dont know about to calculate such big range(10^13)?
i minimized my code as best as i can.still fails for such large number.
why i can't submit my solutions
Problem Recent Solvers246
Suggested Problems
-
Matrix with different incremental runs
309 Solvers
-
The Answer to Life, the Universe, and Everything
434 Solvers
-
540 Solvers
-
757 Solvers
-
Calculate Amount of Cake Frosting
14862 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!