You haven't given us much information. Off the cuff, I'd suggest you have
problem with dividing integers rather than real numbers, but I'd have to
see your code to be sure.


On Wed, Apr 16, 2014 at 7:56 PM, Sumit Tiwari <[email protected]> wrote:

> hey for the input
> 1 1000000000000000000
>
> my ans is : 707106781 but original o/t is 707106780
>
> and for 10000000000000000 1000000000000000000
> it is : 51 here is 49
>
> i have taken long as data type.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Code Jam" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/26e94840-841d-464a-93d8-60589481b339%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAECKw-MFWS5Opma%2Bw%3DPqey1DhfkGx%3DkrxToQ7NcF-7FUioEU6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to