在 bdfs 上搜过了,全式 char 数组转十进制。
#include<bits/stdc++.h> using namespace std; int main(){ string a; cin>>a; cout<</*函数部分*/; return 0; }