进制转换(change)

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.

题目描述

将任意一个n进制整数x转换成十进制。

输入

第1行1个正整数n,1<n<10;

第2行1个整数x。

输出

行一个数,表示转换得到的十进制数,保证答案不超过2147483647。

2
100110
38

2026暑假C++训练(袁)

Not Claimed
Status
Done
Problem
32
Open Since
2026-7-14 0:00
Deadline
2026-8-31 23:59
Extension
24 hour(s)