UVA 10469 Solution
Solve in C:
#include<stdio.h>
int main(){
int m,n,r;
while(scanf("%d%d",&m,&n)!=EOF)
{
r=m^n;
printf("%d\n",r);
}
}
#include<stdio.h>
int main(){
int m,n,r;
while(scanf("%d%d",&m,&n)!=EOF)
{
r=m^n;
printf("%d\n",r);
}
}
No comments