On Thu, Apr 13, 2017 at 8:56 PM, eatmore <[email protected]> wrote:
> A better idea is to insert sample test cases at random places within a > test, then reject the submission if the answers for these cases are > incorrect. This makes it pretty much impossible to submit a wrong output > file by mistake. > > This is what Hacker Cup seems to be doing, very good thing to prevent > mistakes like this [1]. > > [1] http://codeforces.com/blog/entry/16002 Notice that this option would also catch bugs that it shouldn't, such as problems with cleaning up memory between cases, or some strange overflows altering the behavior of all following cases that usually don't happen in samples because they are small. -- 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/CANa5jcDV7KqVGWG8Q6ijanKYMOTDFv6Cfh7UoiZeJxRLJe1Z4g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
