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

Tuesday, December 24, 2013

UVA-10110 :: Light, more light

#include <stdio.h>
int main ()
{
     long long int n ,cnt ;
     while (scanf ("%lld",&n) ==1 && n !=0)
     {
         cnt = sqrt (n) ;
         if (cnt *cnt == n) printf ("yes\n") ;
         else  printf ("no\n") ;
     }

return 0 ;
}