#include<iostream> using namespace std; int main() { int a,b; while(cin >> hex >> a >> b) { cout << dec << a+b << endl; } return 0; }
时间: 2024-10-25 11:05:30
#include<iostream> using namespace std; int main() { int a,b; while(cin >> hex >> a >> b) { cout << dec << a+b << endl; } return 0; }