Problem 2674. Generalised Hamming Number
35.57% Correct | 64.43% Incorrect
Last Solution submitted on Mar 18, 2023
Show 1 older comment
Jonathan on 20 Nov 2014
I like your test suite. Using large X forces a better solution.
Jean-Marie Sainthillier on 20 Nov 2014
Thank you Jonathan. I have discovered this philosophy thanks to James and @bmtran problems.
Asif Newaz on 25 Dec 2019
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.
Nguyen Minh Dat on 13 Aug 2021
why i can't submit my solutions
Problem Recent Solvers261
Compute a dot product of two vectors x and y
More from this Author43
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!