#include<iostream> using namespace std; int main() { int a,b; while(cin >> hex >> a >> b) { cout << dec << a+b << endl; } return 0; }
转载于:https://www.cnblogs.com/cdx19971126/p/5747242.html
#include<iostream> using namespace std; int main() { int a,b; while(cin >> hex >> a >> b) { cout << dec << a+b << endl; } return 0; }
转载于:https://www.cnblogs.com/cdx19971126/p/5747242.html