1185 十--&gt二进制转换


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

将十进制整数转换成二进制数。

Input

输入数据中含有不多于50个整数n(-2^31”,再然后输出二进制数。每个整数n的输出,独立占一行。

Sample

Input

2
0
-12
1

Output

2-->10
          0-->0
        -12-->-1100
          1-->1

Source: qianneng


Comments

There are no comments at the moment.