on the icpc contest, when the input or output is big, they recomend to use
printf/scanf insted of cout/cin ... i'm not sayng that they make diference
on inputs like those, but, when we have peculiar inputs, a little constant
on the time is crucial..

2009/9/5 romanr <[email protected]>

>
> gustavo pacianotto gouveia wrote:
> > you can also use printf("Case #%d: %04d\n",i++,value);
> >
> >
> > maybe you like to use the functions from C++, but printf is faster
> > than cout.. and, in this case, is a little bit easier to code.
> printf is faster but no safer
> every IO is slow by definition, so no reason to optimize it
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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