#include <stdio.h>
int main()
{
long x=1,y=1,temp=1;
while(scanf("%ld %ld",&x,&y)==2){
if(y>x)
temp=y-x;
else
temp=x-y;
printf("%ld\n",temp);
}
return 0;
}
int main()
{
long x=1,y=1,temp=1;
while(scanf("%ld %ld",&x,&y)==2){
if(y>x)
temp=y-x;
else
temp=x-y;
printf("%ld\n",temp);
}
return 0;
}
No comments:
Post a Comment