Thursday, April 14, 2016

UVA 10055: Hashmat the Brave Warrior -Solution

Unknown
#include<stdio.h>
int main()
{
    long long int a,b,c;
    while(scanf("%lld%lld",&a,&b)==2)
    {
        if(a>b) c=a-b;
        else c=b-a;
        printf("%lld\n",c);
    }
    return 0;
}

Unknown

Studying at Shahjalal University of Science and Technology, Sylhet.

0 comments:

Post a Comment

Coprights @ 2016,