SMASIF

10055- Hashmat

Apr 28th, 2015
285
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. int main()
  3. {
  4.     long int m,n;
  5.     while(scanf("%ld%ld", &m, &n)!= EOF)
  6.     {
  7.       if(m>n)
  8.         printf("%ld\n",m-n);
  9.       else
  10.         printf("%ld\n",n-m);
  11.     }
  12.     return 0;
  13. }
Add Comment
Please, Sign In to add comment