Given x as a uint8 find the additive inverse y.
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers112
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1995 Solvers
-
1353 Solvers
-
558 Solvers
-
273 Solvers
-
Height of a right-angled triangle
2019 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
"Given x as a uint8". It's a double in the test suite.
Thank you for noticing that. Fixed.
Tests 1 and 4 in the Test Suite are the same.