练习专区

今天的一小步就是明天的一大步
Problem 1715 二进制转十进制
Accepted: 5   Total Submit: 10
Time Limit: 1000ms   Memory Limit: 30720KB
Description
给16位任意二进制,转换为十进制。
Input
有若干行,每行一个二进制数。
Output
对于每一行对应输出一个结果。
Sample Input
1111111111111111
1111000011110000
0000000000000000
Sample Output
65535
61680
0
Hint
提交     返回