CodeKata

CodeKata LeaderboardLeaderboard

121. Binary to Decimal Conversion

Geekoin40
Medium

Problem Statement:
Given a number N in binary format convert it to decimal number.

Input Description:
N <= 10^18

Sample Input:
101

Sample Output:
5

Accepted 3k
Submissions 3k
Acceptance Rate 91.63%
Topics
mathematics

Code Editor

You need to   or  to run or submit the code