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.
19719 Solvers
Arrange Vector in descending order
4552 Solvers
522 Solvers
Number of 1s in a binary string
3351 Solvers
Convert a vector into a number
511 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!