基础训练 16进制转10进制 16进制转10进制 #include<iostream> using namespace std; int main(){ long long int n; cin>>hex>>n; cout<<n<<endl; return 0; }