Problem 1547. Relative ratio of "1" in binary number
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
The problem says the input is a positive integer but the first test inputs 0. In my code that caused r = 0/0 error. Please change the wording to "input is non-negative".
Problem Recent Solvers791
Suggested Problems
-
1827 Solvers
-
417 Solvers
-
Project Euler: Problem 7, Nth prime
1007 Solvers
-
552 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
364 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!