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

PROGRAMMING:XFF series reverse 01 series

Luz5年前 (2021-05-10)题库507
In the middle of a tour, XFF picked up a magic stone. When she was playing, she was suddenly inhaled by a beam of strong light and sucked into another planet! In front of her eyes is a mysterious string (only 0 or 1), XFF needs to reverse it, that is, 0 becomes 1, 1 becomes 0, dear warriors, can you help XFF complete the task?
###Input format:
There are several groups of input data;
The length of each string is not more than 200;
###Output format:
The output is in the reverse order of the input strings, with each string on a separate line.
###Input example:
Here is a set of inputs. For example:
```in
0110100100100
1000000010000000000
```
###Output example:
The corresponding output is given here. For example:
```out
one trillion and one billion eleven million eleven thousand and eleven
0111111101111111111
```







answer:If there is no answer, please comment