Convert a binary number 1010 to its decimal equivalent.
MediumProblem Statement
Convert a binary number 1010 to its decimal equivalent.
Sample Input
1010
Sample Output
Decimal: 10
Limits
Time: 2s · Memory: 256 MB
Convert a binary number 1010 to its decimal equivalent.
1010
Decimal: 10
Time: 2s · Memory: 256 MB