题解 | #进制A+B#
进制A+B
https://www.nowcoder.com/practice/6187581174ac48278ca3bccf8d534897
#include<iostream> using namespace std; int main() { int a, b; cin>>hex>>a>>oct>>b; cout<<a+b; return 0; }
进制A+B
https://www.nowcoder.com/practice/6187581174ac48278ca3bccf8d534897
#include<iostream> using namespace std; int main() { int a, b; cin>>hex>>a>>oct>>b; cout<<a+b; return 0; }
相关推荐