A. 二进制转十进制

    Type: Default 1000ms 256MiB

二进制转十进制

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

给定一个二进制,转化为对应的十进制。

输入格式

一行一个二进制,长度不超过20位

输出格式

输出对应的十进制

样例 1 输入

11101010

样例1输出

234

1.23竞赛B班

Not Attended
Status
Done
Rule
IOI
Problem
7
Start at
2025-1-23 13:45
End at
2025-1-23 17:45
Duration
4 hour(s)
Host
Partic.
10