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

Tuesday, December 24, 2013

UVA-11936 :: The Lazy Lumberjacks

#include <stdio.h>
int main ()
{
     int n ,i ,a,b,c ;
     scanf ("%d",&n) ;
     for (i=1 ; i<=n ;i++)
          {
               scanf ("%d %d %d",&a, &b ,&c) ;
               if (a+b >c ) printf ("OK\n") ;
               else printf ("Wrong!!\n") ;
          }
}