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

PROGRAMMING:Integer internal code

Luz5年前 (2021-05-10)题库389
Output the internal 32-bit binary code of decimal integer.
###Input format:
The input data contains a number of integer n, int type value range, space between integers or newline interval, with ^ Z or end of file character to end the input.
###Output format:
For each n, the corresponding 32-bit binary internal code and the original integer are output. The binary code is empty every 8 bits, and the interval between the binary code and the original integer is "< - >". Each result corresponds to a row of output. Output a line at the end.
###Input example:
Here is a set of inputs. For example:
```in
5 12 -12
```
###Output example:
```out
00000000 00000000 00000000 00000101 <->5
00000000 00000000 00000000 00001100 <->12
11111111 11111111 11111111 11110100 <->-12
```







answer:If there is no answer, please comment