文章

19

粉丝

0

获赞

125

访问

3.0k

头像
进制转换2 题解:
P1259 北京大学机试题
发布于2025年3月6日 14:28
阅读数 142

#include<bits/stdc++.h>
using namespace std;

int main() {
    string s;
    while(cin >> s) {
    	cout << stoi(s, nullptr, 16) << endl;
    }
    return 0;
}

 

登录查看完整内容


登录后发布评论

暂无评论,来抢沙发