find the logic behind, example
x=18 y=306 x=53 y=2756
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers71
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2056 Solvers
-
Flip the main diagonal of a matrix
919 Solvers
-
Set some matrix elements to zero
638 Solvers
-
find whether it is prime or not
158 Solvers
-
175 Solvers
More from this Author12
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Your first example logic does not match the second one.
The second example should have y = 2756?
The description has been updated.