uva 10055 - Hashmat the Brave Warrior

 

 

 1 #include <cstdio>
 2 using namespace std;
 3 
 4 int main()
 5 {
 6     long long a, b;
 7     while(scanf("%lld%lld", &a, &b) != EOF)
 8     {
 9         if(a > b)
10             printf("%lld\n", a - b);
11         else printf ("%lld\n", b - a);
12     }
13     return 0;
14 }

 

posted @ 2016-01-18 23:50  小小泽  阅读(103)  评论(0编辑  收藏  举报