2011年5月7日 星期六

ACM 10055 Hashmat the brave warrior


#include <stdio.h>

int main(void)
{
    long long int a, b;
   
    while (scanf("%lld%lld", &a, &b) == 2)
        if (a < b)
            printf("%lld\n", b-a);
        else
            printf("%lld\n", a-b);
   
    return 0;
}

沒有留言:

張貼留言