Advertisement
juanjo12x

UVA_10055_Hashmat_The_Brave_Warrior

Aug 5th, 2014
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdio>
  3. #include <stdio.h>
  4. #include <algorithm>
  5. #include <cstring>
  6. #include <cctype>
  7. #include <sstream>
  8. #include <stdlib.h>
  9. #include <cmath>
  10. #define LL unsigned long long
  11. using namespace std;
  12. int main() {
  13.     long dif,a,b;
  14.  
  15.     while(scanf("%ld %ld",&a,&b)!=EOF){
  16.        dif=abs(a-b);
  17.        printf("%ld\n",dif);
  18.     }
  19.     return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement