... HAVE U TRIED .... AT LEAST 3 TIMES ... OK U CAN SEE THIS ...

Tuesday, December 24, 2013

UVA-10055 :: Hashmat the Brave Warrior

#include <stdio.h>
int main ()
{
     long long int a ,b ,x ;

     while (scanf ("%lld %lld",&a, &b) == 2)
          {
               x = b-a  ;

               if (a<b) printf ("%lld\n",x) ;
               else printf ("%lld\n",-x);

          }

          return 0 ;
}