-->
当前位置:首页 > 题库

PROGRAMMING:Reorder all the bits of a whole positive integer to form a maximum number

Luz5年前 (2021-05-10)题库436
Enter a positive integer and reorder all the bits of the number to get the maximum value.
###Input format:
Enter a positive integer
###Output format:
Output the maximum value after sorting
###Input example:
Here is a set of inputs. For example:
```in
nineteen thousand eight hundred and thirty-seven
```
###Output example:
The corresponding output is given here. For example:
```out
ninety-eight thousand seven hundred and thirty-one
```







answer:If there is no answer, please comment