Convert the given binary number to its equivalent decimal number


Submit solution

Points: 10 (partial)
Time limit: 10.0s
Memory limit: 64M

Author:
Problem type
Allowed languages
C

Convert given binary number to equivalent decimal number

Sample input=0

Sample output=0

Sample input=111101

Sample output=61

Sample input=-11

Sample output=0


Comments

There are no comments at the moment.