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

PROGRAMMING:Encryption number

Luz5年前 (2021-05-10)题库400
There is a 32-bit integer of int type, which is an encrypted number. It is actually expressed as another number, that is, every 8 bits from the high bit to the low bit of the number are summed as a number (no sign).
For example: 65920, its binary number in the computer is expressed as:
00000000 00000001 00000001 10000000
Then the encryption number is expressed as:
0+1+1+128=130
There is a group of such numbers, decrypted and output.
###Input example:
Here is a set of inputs. For example:
```in
sixty-five thousand nine hundred and twenty
-1
```
###Output example:
The corresponding output is given here. For example:
```out
one hundred and thirty
one thousand and twenty
```







answer:If there is no answer, please comment