enamsustcse

10055 Hashmat the brave warrior

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