I still don't get it.. When i try to run epsalon's code i get the
output in the format
Case #32: 1.46888007111242e+015
how to get the exact value without changing epsalon's code??

Br,
Chethan

On May 10, 9:01 am, Abdelrhman Abotaleb <[email protected]>
wrote:
> or type cast your final result
> (long)Double_Var
>
> On Mon, May 10, 2010 at 5:33 AM, Bartholomew Furrow <[email protected]>wrote:
>
>
>
>
>
> > hi,
> >> in C, normally we use printf("%0.0lf",n) to ignore the decimal part..
> >> while printing..
>
> > Though if you're doing a floating-point calculation for something with an
> > exact integer answer, you're probably doing something wrong, and should
> > consider using long long instead.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "google-codejam" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-code%2bunsubscr...@googlegr 
> > oups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-code?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "google-codejam" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/google-code?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to