#include<iomanip>
cin >> hex >>x; 输入十六进制
cin >> oct >>x; 输入八进制
cout << setbase(n) << x; 输出n进制
暂无评论,快来抢首评~
相关推荐