Advertisement
juanjo12x

UVA_10469_To_Carry_Or_Not

Aug 6th, 2014
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdio>
  3. #include <stdio.h>
  4. #include <algorithm>
  5. #include <cstring>
  6. #include <cctype>
  7. #include <sstream>
  8. #include <stdlib.h>
  9. #include <cmath>
  10. using namespace std;
  11. int main() {
  12.     int a,b;
  13.     int result;
  14.     while(scanf("%d %d",&a,&b)!=EOF){
  15.         result= a^b;
  16.         printf("%d\n",result);
  17.     }
  18.  
  19.     return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement