A.cpp 207 B

12345678910111213
  1. #include <iostream>
  2. #include <stdio.h>
  3. using namespace std;
  4. //A 十六进制A+B转10进制
  5. int main() {
  6. int a, b;
  7. while (cin >> hex >> a >> hex >> b)
  8. cout << a + b << endl;
  9. return 0;
  10. }