4011. DisplayBinary

Naive循环位运算

时间限制:2000 ms

内存限制:512 MiB

题面

Input an integer, and output its binary counterpart. For example, binary for -10 is -1010B.

输入格式

An integer in range [LONGLONG_MIN, LONGLONG_MAX].

输出格式

Binary counterpart ending with B .

样例

输入

-10

输出

-1010B

输入

0

输出

0B

输入

10

输出

1010B