Sunday, August 28, 2016

uri-1026 - To Carry or not to Carry

#include <stdio.h>

int main(){
    unsigned int a, b;

    while(scanf("%u %u", &a, &b) != EOF){
                    printf("%u\n", a ^ b);
    }

    return 0;
}

No comments: