Saturday, July 15, 2017

URI problem 1026 solution in C | (To Carry or not to Carry)

#include<stdio.h>
int main()
{
    int unsigned long a,b;
    while(scanf("%lu",&a)!=EOF){
        scanf("%lu",&b);
        printf("%lu\n",a^b);
    }
    return 0;
}

No comments:

Post a Comment