1190: 进制转换1
Memory Limit:256 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:1
Solved:0
Description
编写一个程序,输入一个二进制的整数(长度不超过32),然后计算出相应的十进制整数,并把它打印出来。
Input
输入格式:输入为一个字符串,每个字符都是’0’或’1’,字符串的长度不超过32。
Output
输出格式:输出一个整数。
Sample Input Copy
1101
Sample Output Copy
13
HINT
HINT:时间限制:1.0s 内存限制:256.0MB