HH, you get no credit for hacking the problem. Only legitimate solutions gain credit.
A commendable solution! The first submission, and a respectable size, sure. But something else setting this apart is the professional-looking use of comments throughout the submission, which provides great insight — without any penalty! Atsushi Ueno is the only one of the first ten solvers to do this (despite the explicit cue). Others maybe should also tackle Problem 44405.
Given an unsigned integer x, find the largest y by rearranging the bits in x
surface of a spherical planet
Beginner's Problem - Squaring
Basic commands - rounding
Comparison of floating-point numbers (doubles)
Wait a second!
Make your own Test Suite (part 2)
Anyone for tennis? Your chances of winning a (standard) game
Just take it easy for a second or two!
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office