I think the problem statement should read "the proportion of bouncy numbers is at least p%", rather than "exactly p%."
Currently, num2str is able to handle all test cases.
190 Solvers
292 Solvers
Find the maximum number of decimal places in a set of numbers
774 Solvers
Determine if input is a perfect number
148 Solvers
Natural numbers in string form
363 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!