Pabon_SEC

Hashmat

Sep 3rd, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     long long int a,b,c;
  5.     while(scanf("%lld%lld",&a,&b)==2)
  6.     {
  7.         if(a>b)
  8.         {
  9.             printf("%lld\n",a-b);
  10.         }
  11.         else
  12.         {
  13.             printf("%lld\n",b-a);
  14.         }
  15.     }
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment