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