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

PROGRAMMING:Adjust the array so that all odd numbers precede even numbers, and the order of other numbers remains unchanged

Luz5年前 (2021-05-10)题库434
Enter a number string no more than 10 in length, adjust the array so that all odd numbers are in front of even numbers, and the order of other numbers remains unchanged.
###Input format:
For example, enter "0123456789"
###Output format:
Output "1357902468"
###Input example:
Here is a set of inputs. For example:
```in
0123456789
```
###Output example:
The corresponding output is given here. For example:
```out
one billion three hundred and fifty-seven million nine hundred and two thousand four hundred and sixty-eight
```







answer:If there is no answer, please comment