Hi!

While reading Code Jam FAQ, I found some errors:
> Be aware of common problems like integer overflow and stack overflow that can 
> cause an otherwise correct solution to fail.
The link from "stack overflow" is pointing to a Wikipedia page on integer 
overflow.
> In an output file, if the correct output is 1000.0 and an absolute or 
> relative difference of 10⁻⁶ is permitted, then the following will be 
> considered correct: 1000.001, 1000, 999.999, 1000., 1e3, 10.00001e2, 
> 9.99999E3 (all are within a relative distance of 10⁻⁶).
9.99999E3 is certainly not within a distance of 10⁻⁶ from 1000.
>     #include  // includes cin to read from stdin and cout to write to stdout
Did you mean #include <iostream>?

And I haven't read the FAQ thoroughly, so there may be a ton of similar errors 
still hiding there!

-- 
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/915e7971-7625-4705-a046-fc95084f6c35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to