Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
41961 纪哲弘 R进制转十进制 C++ Accepted 2 MS 276 KB 151 2022-11-12 14:24:09

Tests(10/10):


Code:

#include<iostream> #include<cstring> #include<cmath> using namespace std; int main(){ string ch; int n; cin>>n>>ch; cout<<stoi(ch,0,n); }