>
> 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 google-c...@googlegroups.com.
To unsubscribe from this group, send email to 
google-code+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to